- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.4
hooks:
- id: ruff
- id: ruff-format
Becomes.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: VERSION_NUMBER
hooks:
- id: ruff-check
- id: ruff-format
Once VERSION_NUMBER >= v 0.12.0