add prek, tanuki

This commit is contained in:
2026-02-10 12:40:31 +01:00
parent bcb96213ee
commit 639afe9b95
3 changed files with 13 additions and 3 deletions

View File

@@ -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]