diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b46af42..ff9a845 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,4 +19,12 @@ repos: hooks: # Compile requirements - id: pip-compile - args: [ pyproject.toml, -o, requirements.txt ] \ No newline at end of file + 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 \ No newline at end of file