mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Use pre-commits hooks instead of ruff directly
This commit is contained in:
1 parent
e29e1101cd
commit
c7135875b8
5 files changed
+235
-19
No files matched your search
@@ -0,0 +1,10 @@
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.4.10
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff
|
||||
args: ["--fix"]
|
||||
# Run the formatter.
|
||||
- id: ruff-format
|
||||
Reference in new issue
Block a user