This commit is contained in:
Andros Fenollosa
2024-08-31 14:50:48 +02:00
parent 58ea6b12f6
commit 6db5005de2
9 changed files with 104 additions and 149 deletions

10
pre-commit-config.yaml Normal file
View File

@ -0,0 +1,10 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.4
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format