Skip to content

[pre-commit.ci] pre-commit autoupdate #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0 # Use the ref you want to point at
rev: v6.0.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
- id: check-ast
Expand All @@ -17,7 +17,7 @@ repos:
- id: check-toml

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

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.16.1
rev: v1.17.1
hooks:
- id: mypy
entry: python3 -m mypy --config-file pyproject.toml
Expand Down
28 changes: 14 additions & 14 deletions tests/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ def test_imports(self):
"""Test that all modules can be imported."""
try:
# CLI imports
import vec_inf.cli
import vec_inf.cli._cli
import vec_inf.cli._helper
import vec_inf.cli # noqa: PLC0415
import vec_inf.cli._cli # noqa: PLC0415
import vec_inf.cli._helper # noqa: PLC0415

# Client imports
import vec_inf.client
import vec_inf.client._client_vars # noqa: F401
import vec_inf.client._exceptions
import vec_inf.client._helper
import vec_inf.client._slurm_script_generator
import vec_inf.client._slurm_templates
import vec_inf.client._slurm_vars
import vec_inf.client._utils
import vec_inf.client.api
import vec_inf.client.config
import vec_inf.client.models # noqa: F401
import vec_inf.client # noqa: PLC0415
import vec_inf.client._client_vars # noqa: F401, PLC0415
import vec_inf.client._exceptions # noqa: PLC0415
import vec_inf.client._helper # noqa: PLC0415
import vec_inf.client._slurm_script_generator # noqa: PLC0415
import vec_inf.client._slurm_templates # noqa: PLC0415
import vec_inf.client._slurm_vars # noqa: PLC0415
import vec_inf.client._utils # noqa: PLC0415
import vec_inf.client.api # noqa: PLC0415
import vec_inf.client.config # noqa: PLC0415
import vec_inf.client.models # noqa: F401, PLC0415

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