Skip to content

Commit 810643a

Browse files
authored
Merge pull request #124 from VectorInstitute/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents d3e5dc2 + e85834e commit 810643a

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0 # Use the ref you want to point at
3+
rev: v6.0.0 # Use the ref you want to point at
44
hooks:
55
- id: trailing-whitespace
66
- id: check-ast
@@ -17,7 +17,7 @@ repos:
1717
- id: check-toml
1818

1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: 'v0.12.3'
20+
rev: 'v0.12.8'
2121
hooks:
2222
- id: ruff
2323
args: [--fix, --exit-non-zero-on-fix]
@@ -26,7 +26,7 @@ repos:
2626
types_or: [python, jupyter]
2727

2828
- repo: https://github.com/pre-commit/mirrors-mypy
29-
rev: v1.16.1
29+
rev: v1.17.1
3030
hooks:
3131
- id: mypy
3232
entry: python3 -m mypy --config-file pyproject.toml

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)