From febd13f9ea8ac149034d62e8f9f7f064eaac47d0 Mon Sep 17 00:00:00 2001 From: Tobias Klockau Date: Mon, 9 Dec 2024 09:44:01 +0100 Subject: [PATCH] lint: apply pre-commit --- raillabel_providerkit/validation/validate.py | 3 +-- tests/validation/test_validate.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/raillabel_providerkit/validation/validate.py b/raillabel_providerkit/validation/validate.py index 1095a7e..9c2b48c 100644 --- a/raillabel_providerkit/validation/validate.py +++ b/raillabel_providerkit/validation/validate.py @@ -8,8 +8,7 @@ from raillabel_providerkit.validation import Issue -from . import validate_schema -from . import validate_empty_frames +from . import validate_empty_frames, validate_schema def validate(scene_dict: dict, validate_for_empty_frames: bool = True) -> list[Issue]: diff --git a/tests/validation/test_validate.py b/tests/validation/test_validate.py index 48629ca..b321978 100644 --- a/tests/validation/test_validate.py +++ b/tests/validation/test_validate.py @@ -28,6 +28,5 @@ def test_empty_frame_errors(): assert len(actual) == 1 - if __name__ == "__main__": pytest.main([__file__, "--disable-pytest-warnings", "--cache-clear", "-v"])