diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 692bda2..b054e3c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,12 +17,13 @@ repos: rev: v2.4.1 hooks: - id: codespell - - repo: 'https://github.com/charliermarsh/ruff-pre-commit' + - repo: 'https://github.com/astral-sh/ruff-pre-commit' rev: v0.12.4 hooks: - - id: ruff + - id: ruff-check args: - '--fix' + - '--exit-non-zero-on-fix' - id: ruff-format - repo: 'https://github.com/pre-commit/mirrors-mypy' rev: v1.17.0