chore: Update pre-commit and ruff rules

This commit is contained in:
2026-08-14 11:27:27 +01:00
parent 2c89ab5e62
commit 4b26377571
2 changed files with 4 additions and 3 deletions

View File

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

View File

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