diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0c5f1f1..32d2895 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,13 +1,13 @@ repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.4.10 + hooks: + - id: ruff + args: [--fix] + - id: ruff-format + - repo: local hooks: - - id: ruff-check - name: ruff check - entry: ruff check - language: system - types: [python] - stages: [commit] - - id: pytest name: pytest entry: pytest