update black to 21.6b0 (#10197)

Reformat all files with the new version.

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
pull/10206/head
Marcus 2021-06-17 16:20:06 +02:00 committed by GitHub
parent 6f1a28de19
commit 8070b893db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 28 additions and 27 deletions

1
changelog.d/10197.misc Normal file
View File

@ -0,0 +1 @@
Upgrade `black` linting tool to 21.6b0.

View File

@ -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",

View File

@ -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)