From d58db89baf4a5896b4f18882b8f85fce964d2550 Mon Sep 17 00:00:00 2001 From: rlaphoenix <17136956+rlaphoenix@users.noreply.github.com> Date: Mon, 27 Oct 2025 08:58:15 +0000 Subject: [PATCH] Use official config repos for ruff and mypy, fix poetry dependency resolution --- .pre-commit-config.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4625d2a..288f266 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: