chore: Update pre-commit and ruff rules
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.15.0
|
||||
rev: v0.16.0
|
||||
hooks:
|
||||
- id: ruff-check
|
||||
args: [ --fix ]
|
||||
- id: ruff-format
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v1.19.1
|
||||
rev: v2.3.0
|
||||
hooks:
|
||||
- id: mypy
|
||||
args: [--strict]
|
||||
|
||||
@@ -29,7 +29,8 @@ ignore = [
|
||||
"FIX004",
|
||||
|
||||
# Others I dont care about
|
||||
"D"
|
||||
"D",
|
||||
"CPY001"
|
||||
]
|
||||
|
||||
[tool.ruff.format]
|
||||
|
||||
Reference in New Issue
Block a user