mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 01:49:23 -05:00
Bump flake8-bugbear from 22.9.23 to 22.10.27 (#14329)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com> Co-authored-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
This commit is contained in:
parent
bb39fc4366
commit
8bcdd712b8
1
changelog.d/14329.misc
Normal file
1
changelog.d/14329.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Bump flake8-bugbear from 22.9.23 to 22.10.27.
|
10
poetry.lock
generated
10
poetry.lock
generated
@ -260,18 +260,18 @@ pyflakes = ">=2.4.0,<2.5.0"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "flake8-bugbear"
|
name = "flake8-bugbear"
|
||||||
version = "22.9.23"
|
version = "22.10.27"
|
||||||
description = "A plugin for flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle."
|
description = "A plugin for flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle."
|
||||||
category = "dev"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.6"
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
attrs = ">=19.2.0"
|
attrs = ">=19.2.0"
|
||||||
flake8 = ">=3.0.0"
|
flake8 = ">=3.0.0"
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
dev = ["coverage", "hypothesis", "hypothesmith (>=0.2)", "pre-commit"]
|
dev = ["coverage", "hypothesis", "hypothesmith (>=0.2)", "pre-commit", "tox"]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "flake8-comprehensions"
|
name = "flake8-comprehensions"
|
||||||
@ -1829,8 +1829,8 @@ flake8 = [
|
|||||||
{file = "flake8-4.0.1.tar.gz", hash = "sha256:806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d"},
|
{file = "flake8-4.0.1.tar.gz", hash = "sha256:806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d"},
|
||||||
]
|
]
|
||||||
flake8-bugbear = [
|
flake8-bugbear = [
|
||||||
{file = "flake8-bugbear-22.9.23.tar.gz", hash = "sha256:17b9623325e6e0dcdcc80ed9e4aa811287fcc81d7e03313b8736ea5733759937"},
|
{file = "flake8-bugbear-22.10.27.tar.gz", hash = "sha256:a6708608965c9e0de5fff13904fed82e0ba21ac929fe4896459226a797e11cd5"},
|
||||||
{file = "flake8_bugbear-22.9.23-py3-none-any.whl", hash = "sha256:cd2779b2b7ada212d7a322814a1e5651f1868ab0d3f24cc9da66169ab8fda474"},
|
{file = "flake8_bugbear-22.10.27-py3-none-any.whl", hash = "sha256:6ad0ab754507319060695e2f2be80e6d8977cfcea082293089a9226276bd825d"},
|
||||||
]
|
]
|
||||||
flake8-comprehensions = [
|
flake8-comprehensions = [
|
||||||
{file = "flake8-comprehensions-3.8.0.tar.gz", hash = "sha256:8e108707637b1d13734f38e03435984f6b7854fa6b5a4e34f93e69534be8e521"},
|
{file = "flake8-comprehensions-3.8.0.tar.gz", hash = "sha256:8e108707637b1d13734f38e03435984f6b7854fa6b5a4e34f93e69534be8e521"},
|
||||||
|
@ -256,7 +256,7 @@ class BasePresenceHandler(abc.ABC):
|
|||||||
with the app.
|
with the app.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
async def update_external_syncs_row(
|
async def update_external_syncs_row( # noqa: B027 (no-op by design)
|
||||||
self, process_id: str, user_id: str, is_syncing: bool, sync_time_msec: int
|
self, process_id: str, user_id: str, is_syncing: bool, sync_time_msec: int
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Update the syncing users for an external process as a delta.
|
"""Update the syncing users for an external process as a delta.
|
||||||
@ -272,7 +272,9 @@ class BasePresenceHandler(abc.ABC):
|
|||||||
sync_time_msec: Time in ms when the user was last syncing
|
sync_time_msec: Time in ms when the user was last syncing
|
||||||
"""
|
"""
|
||||||
|
|
||||||
async def update_external_syncs_clear(self, process_id: str) -> None:
|
async def update_external_syncs_clear( # noqa: B027 (no-op by design)
|
||||||
|
self, process_id: str
|
||||||
|
) -> None:
|
||||||
"""Marks all users that had been marked as syncing by a given process
|
"""Marks all users that had been marked as syncing by a given process
|
||||||
as offline.
|
as offline.
|
||||||
|
|
||||||
|
@ -315,7 +315,7 @@ class HomeServer(metaclass=abc.ABCMeta):
|
|||||||
if self.config.worker.run_background_tasks:
|
if self.config.worker.run_background_tasks:
|
||||||
self.setup_background_tasks()
|
self.setup_background_tasks()
|
||||||
|
|
||||||
def start_listening(self) -> None:
|
def start_listening(self) -> None: # noqa: B027 (no-op by design)
|
||||||
"""Start the HTTP, manhole, metrics, etc listeners
|
"""Start the HTTP, manhole, metrics, etc listeners
|
||||||
|
|
||||||
Does nothing in this base class; overridden in derived classes to start the
|
Does nothing in this base class; overridden in derived classes to start the
|
||||||
|
@ -50,7 +50,7 @@ class SQLBaseStore(metaclass=ABCMeta):
|
|||||||
|
|
||||||
self.external_cached_functions: Dict[str, CachedFunction] = {}
|
self.external_cached_functions: Dict[str, CachedFunction] = {}
|
||||||
|
|
||||||
def process_replication_rows(
|
def process_replication_rows( # noqa: B027 (no-op by design)
|
||||||
self,
|
self,
|
||||||
stream_name: str,
|
stream_name: str,
|
||||||
instance_name: str,
|
instance_name: str,
|
||||||
|
Loading…
Reference in New Issue
Block a user