diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ba60f20a..49fcc421 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,6 +15,11 @@ repos: rev: v2.2.4 hooks: - id: codespell +- repo: https://github.com/charliermarsh/ruff-pre-commit + rev: 'v0.0.256' + hooks: + - id: ruff + args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/adrienverge/yamllint.git rev: v1.29.0 hooks: @@ -36,7 +41,3 @@ repos: types: [python] require_serial: true files: ^(flux_local/|tests/) -- repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.256' - hooks: - - id: ruff