ruff --fix on commit
This commit is contained in:
@@ -116,5 +116,6 @@ node.zip
|
||||
/.vs
|
||||
*.editorconfig
|
||||
*.yaml
|
||||
!.pre-commit-config.yaml
|
||||
/more_math.pyproj
|
||||
/more_math.slnx
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user