diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 451ca82..9a58aa4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,17 +30,15 @@ repos: # Run the Ruff linter. - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.8 + rev: v0.15.4 hooks: # Linter - - id: ruff - types_or: [python, pyi, jupyter, toml] - args: [--fix, --exit-non-zero-on-fix] - exclude: ^.*uv\.lock$ + - id: ruff-check + args: [ --fix ] + types_or: [python, pyi, jupyter, pyproject] # Formatter - id: ruff-format - types_or: [python, pyi, jupyter, toml] - exclude: ^.*uv\.lock$ + types_or: [python, pyi, jupyter, pyproject] - repo: https://github.com/RobertCraigie/pyright-python rev: v1.1.403