Add Ruff linter and formatter to pre-commit configuration

This commit is contained in:
Sam 2025-06-01 16:20:19 -05:00
parent 3988f0a6fc
commit 784123b9e1

View File

@ -19,4 +19,12 @@ repos:
hooks:
# Compile requirements
- id: pip-compile
args: [ pyproject.toml, -o, requirements.txt ]
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