Auto-format code with black (#9530)

Co-authored-by: explosion-bot <explosion-bot@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2021-10-22 13:03:10 +02:00 committed by GitHub
parent c9f28b6d08
commit b0b115ff39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -1,2 +1,2 @@
from .callbacks import create_models_with_nvtx_range # noqa: F401
from .callbacks import create_models_with_nvtx_range # noqa: F401
from .models import * # noqa: F401, F403

View File

@ -30,7 +30,9 @@ def create_models_with_nvtx_range(
)
for node in models.walk():
with_nvtx_range(node, forward_color=forward_color, backprop_color=backprop_color)
with_nvtx_range(
node, forward_color=forward_color, backprop_color=backprop_color
)
return nlp

View File

@ -168,7 +168,7 @@ def test_kb_serialize_2(nlp):
def test_kb_set_entities(nlp):
""" Test that set_entities entirely overwrites the previous set of entities """
"""Test that set_entities entirely overwrites the previous set of entities"""
v = [5, 6, 7, 8]
v1 = [1, 1, 1, 0]
v2 = [2, 2, 2, 3]