From 99aeaf9bd3c3ddd3fb0440e44b14ae187b6d8d8e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 13 May 2022 19:02:08 +0200 Subject: [PATCH] Auto-format code with black (#10795) Co-authored-by: explosion-bot --- spacy/tests/pipeline/test_pipe_factories.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spacy/tests/pipeline/test_pipe_factories.py b/spacy/tests/pipeline/test_pipe_factories.py index 4340a4b88..232b0512e 100644 --- a/spacy/tests/pipeline/test_pipe_factories.py +++ b/spacy/tests/pipeline/test_pipe_factories.py @@ -143,7 +143,9 @@ def test_pipe_class_component_config(): with pytest.raises(ConfigValidationError): # invalid config nlp.add_pipe(name, config={"value1": "10", "value2": "hello"}) with pytest.warns(UserWarning): - nlp.add_pipe(name, config={"value1": 10, "value2": "hello", "name": "wrong_name"}) + nlp.add_pipe( + name, config={"value1": 10, "value2": "hello", "name": "wrong_name"} + ) pipe = nlp.get_pipe(name) assert isinstance(pipe.nlp, Language) assert pipe.value1 == 10