Skip to content

Commit e85834e

Browse files
committed
Add ignores for import ruff errors, these are intentional
1 parent 19295c3 commit e85834e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tests/test_imports.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ def test_imports(self):
1212
"""Test that all modules can be imported."""
1313
try:
1414
# CLI imports
15-
import vec_inf.cli
16-
import vec_inf.cli._cli
17-
import vec_inf.cli._helper
15+
import vec_inf.cli # noqa: PLC0415
16+
import vec_inf.cli._cli # noqa: PLC0415
17+
import vec_inf.cli._helper # noqa: PLC0415
1818

1919
# Client imports
20-
import vec_inf.client
21-
import vec_inf.client._client_vars # noqa: F401
22-
import vec_inf.client._exceptions
23-
import vec_inf.client._helper
24-
import vec_inf.client._slurm_script_generator
25-
import vec_inf.client._slurm_templates
26-
import vec_inf.client._slurm_vars
27-
import vec_inf.client._utils
28-
import vec_inf.client.api
29-
import vec_inf.client.config
30-
import vec_inf.client.models # noqa: F401
20+
import vec_inf.client # noqa: PLC0415
21+
import vec_inf.client._client_vars # noqa: F401, PLC0415
22+
import vec_inf.client._exceptions # noqa: PLC0415
23+
import vec_inf.client._helper # noqa: PLC0415
24+
import vec_inf.client._slurm_script_generator # noqa: PLC0415
25+
import vec_inf.client._slurm_templates # noqa: PLC0415
26+
import vec_inf.client._slurm_vars # noqa: PLC0415
27+
import vec_inf.client._utils # noqa: PLC0415
28+
import vec_inf.client.api # noqa: PLC0415
29+
import vec_inf.client.config # noqa: PLC0415
30+
import vec_inf.client.models # noqa: F401, PLC0415
3131

3232
except ImportError as e:
3333
pytest.fail(f"Import failed: {e}")

0 commit comments

Comments
 (0)