From a5427523fc949f80ec089f90c79d2f721562f20a Mon Sep 17 00:00:00 2001 From: Joel Welling Date: Thu, 2 May 2024 14:53:19 -0400 Subject: [PATCH] Apply black --- tests/test_semantic_versions.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/test_semantic_versions.py b/tests/test_semantic_versions.py index d5c7c56..8e3f3dc 100644 --- a/tests/test_semantic_versions.py +++ b/tests/test_semantic_versions.py @@ -9,14 +9,15 @@ def test_plugin_semantic_versions(): - plugin_dir = (Path(__file__).parent.parent - / "src" / "ingest_validation_tests") + plugin_dir = Path(__file__).parent.parent / "src" / "ingest_validation_tests" fb_regex = re.compile(FALLBACK_REGEX) for cls in validation_class_iter(plugin_dir): try: _ = semantic_version.Version(cls.version) except ValueError: if not fb_regex.match(cls.version): - assert False, (f"The plugin {cls.__name__} has version string" - f" {cls.version}, which is not a valid semantic" - " version") + assert False, ( + f"The plugin {cls.__name__} has version string" + f" {cls.version}, which is not a valid semantic" + " version" + )