Skip to content

Commit 2ae0d25

Browse files
committed
Fix linting issues
1 parent 4ddf691 commit 2ae0d25

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/unit_tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ jobs:
6464
run: |
6565
uv run pytest -m "not integration_test" --cov vec_inf --cov-report=xml tests
6666
67-
# Uncomment this once this repo is configured on Codecov
6867
- name: Upload coverage to Codecov
6968
uses: codecov/codecov-action@v5.4.0
7069
with:

tests/test_imports.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
# Import test for vec_inf modules
2-
# This script tests the importability of all modules in the vec_inf package using only core dependencies
1+
"""Test the imports of the vec_inf package."""
32

43
import unittest
54

65

76
class TestVecInfImports(unittest.TestCase):
7+
"""Test the imports of the vec_inf package."""
8+
89
def test_import_cli_modules(self):
10+
"""Test the imports of the vec_inf.cli modules."""
911
try:
1012
import vec_inf.cli._cli
1113
import vec_inf.cli._config
1214
import vec_inf.cli._helper
13-
import vec_inf.cli._utils
15+
import vec_inf.cli._utils # noqa: F401
1416
except ImportError as e:
1517
self.fail(f"Import failed: {e}")
16-
17-
18-
if __name__ == "__main__":
19-
unittest.main()

0 commit comments

Comments
 (0)