From 2f88c4ef0962843900f8149d340e69f0a73057eb Mon Sep 17 00:00:00 2001 From: svlandeg Date: Wed, 26 Jul 2023 13:47:55 +0200 Subject: [PATCH] remove unncessary fmt:off instructions --- spacy/tests/test_cli_app.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/spacy/tests/test_cli_app.py b/spacy/tests/test_cli_app.py index 3c0eb701d..599ff6930 100644 --- a/spacy/tests/test_cli_app.py +++ b/spacy/tests/test_cli_app.py @@ -279,7 +279,6 @@ TRAIN_EXAMPLE_2 = dict( @pytest.mark.slow @pytest.mark.parametrize( "component,examples", - # fmt: off [ ("tagger", [TRAIN_EXAMPLE_1, TRAIN_EXAMPLE_2]), ("morphologizer", [TRAIN_EXAMPLE_1, TRAIN_EXAMPLE_2]), @@ -288,8 +287,7 @@ TRAIN_EXAMPLE_2 = dict( ("ner", [TRAIN_EXAMPLE_1, TRAIN_EXAMPLE_2]), ("spancat", [TRAIN_EXAMPLE_1, TRAIN_EXAMPLE_2]), ("textcat", [TRAIN_EXAMPLE_1, TRAIN_EXAMPLE_2]), - ] - # fmt: on + ], ) def test_init_config_trainable(component, examples, en_vocab): if component == "textcat": @@ -352,9 +350,7 @@ def test_init_config_trainable(component, examples, en_vocab): @pytest.mark.slow @pytest.mark.parametrize( "component,examples", - # fmt: off - [("tagger,parser,morphologizer", [TRAIN_EXAMPLE_1, TRAIN_EXAMPLE_2] * 15)] - # fmt: on + [("tagger,parser,morphologizer", [TRAIN_EXAMPLE_1, TRAIN_EXAMPLE_2] * 15)], ) def test_init_config_trainable_multiple(component, examples, en_vocab): train_docs = []