Auto-format code with black

This commit is contained in:
explosion-bot 2022-12-30 08:03:53 +00:00 committed by GitHub
parent ef9e504eac
commit 2e224e0180

View File

@ -897,7 +897,9 @@ def test_textcat_multi_threshold():
assert scores["cats_f_per_type"]["POSITIVE"]["r"] == 1.0
@pytest.mark.parametrize("component_name,scorer", [("textcat", "spacy.textcat_scorer.v1")])
@pytest.mark.parametrize(
"component_name,scorer", [("textcat", "spacy.textcat_scorer.v1")]
)
def test_textcat_legacy_scorers(component_name, scorer):
"""Check that legacy scorers are registered and produce the expected score
keys."""