2026-04-04 18:16:04 -07:00
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2026-04-14 21:59:55 -03:00
|
|
|
# Keep in lock-step with the ruff version pinned in .github/workflows/ci.yml
|
|
|
|
|
# (>=0.4.0,<0.5). Using a newer rev here produces a different formatter
|
|
|
|
|
# output than CI and breaks `ruff format --check` in the lint job.
|
|
|
|
|
rev: v0.4.10
|
2026-04-04 18:16:04 -07:00
|
|
|
hooks:
|
|
|
|
|
- id: ruff
|
|
|
|
|
args: [--fix]
|
|
|
|
|
- id: ruff-format
|