ruff --fix on commit

This commit is contained in:
mcDandy
2026-01-09 13:50:02 +01:00
parent c519cb1dc9
commit 77f6979b7b
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -116,5 +116,6 @@ node.zip
/.vs
*.editorconfig
*.yaml
!.pre-commit-config.yaml
/more_math.pyproj
/more_math.slnx
+9
View File
@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
hooks:
# Run the linter
- id: ruff
args: [--fix]
# Run the formatter
- id: ruff-format