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