mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
update black to 21.6b0 (#10197)
Reformat all files with the new version. Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
This commit is contained in:
parent
6f1a28de19
commit
8070b893db
1
changelog.d/10197.misc
Normal file
1
changelog.d/10197.misc
Normal file
@ -0,0 +1 @@
|
||||
Upgrade `black` linting tool to 21.6b0.
|
2
setup.py
2
setup.py
@ -97,7 +97,7 @@ CONDITIONAL_REQUIREMENTS["all"] = list(ALL_OPTIONAL_REQUIREMENTS)
|
||||
# We pin black so that our tests don't start failing on new releases.
|
||||
CONDITIONAL_REQUIREMENTS["lint"] = [
|
||||
"isort==5.7.0",
|
||||
"black==20.8b1",
|
||||
"black==21.6b0",
|
||||
"flake8-comprehensions",
|
||||
"flake8-bugbear==21.3.2",
|
||||
"flake8",
|
||||
|
@ -571,7 +571,7 @@ class ReplicationCommandHandler:
|
||||
def on_REMOTE_SERVER_UP(
|
||||
self, conn: IReplicationConnection, cmd: RemoteServerUpCommand
|
||||
):
|
||||
""""Called when get a new REMOTE_SERVER_UP command."""
|
||||
"""Called when get a new REMOTE_SERVER_UP command."""
|
||||
self._replication_data_handler.on_remote_server_up(cmd.data)
|
||||
|
||||
self._notifier.notify_remote_server_up(cmd.data)
|
||||
|
Loading…
Reference in New Issue
Block a user