add prek, tanuki
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.6.9 # latest ruff version
|
||||
rev: v0.8.6
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: ["--fix"]
|
||||
# Run the formatter
|
||||
- id: ruff-format
|
||||
name: ruff format
|
||||
types_or: [python, pyi, jupyter]
|
||||
# Run the linter with auto-fix
|
||||
- id: ruff
|
||||
name: ruff check
|
||||
args: [--fix]
|
||||
types_or: [python, pyi, jupyter]
|
||||
|
||||
Reference in New Issue
Block a user