Add Ruff linter and formatter to pre-commit configuration
This commit is contained in:
parent
3988f0a6fc
commit
784123b9e1
@ -20,3 +20,11 @@ repos:
|
||||
# Compile requirements
|
||||
- id: pip-compile
|
||||
args: [ pyproject.toml, -o, requirements.txt ]
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.11.12
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff
|
||||
# Run the formatter.
|
||||
- id: ruff-format
|
||||
Loading…
x
Reference in New Issue
Block a user