Use official config repos for ruff and mypy, fix poetry dependency resolution

This commit is contained in:
rlaphoenix 2025-10-27 08:58:15 +00:00
parent 8cd623a217
commit d58db89baf

View File

@ -3,15 +3,25 @@
exclude: '_pb2.pyi?$'
repos:
- repo: https://github.com/mtkennerly/pre-commit-hooks
rev: v0.4.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.2
hooks:
- id: poetry-ruff-check
- id: poetry-mypy
- id: ruff-check
language: system
types: [ python ]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.18.2
hooks:
- id: mypy
language: system
types: [ python ]
args: [] # override defaults to empty
- repo: https://github.com/pycqa/isort
rev: 6.1.0
hooks:
- id: isort
language: system
types: [ python ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks: