From b5d16f419f446d56e33069635154a721e702df1b Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Mon, 2 Feb 2026 22:22:35 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20Run=20mypy=20by=20pre-commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8717a7c..bbf3612 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,3 +26,11 @@ repos: require_serial: true language: unsupported types: [python] + + - id: local-mypy + name: mypy check + entry: uv run mypy src + require_serial: true + language: unsupported + pass_filenames: false + types: [python] From 381d928c17e9b0edd10cfe79836e536038ca76d8 Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Tue, 3 Feb 2026 10:25:34 +0100 Subject: [PATCH 2/2] Remove `types: [python]` from mypy hook in `pre-commit.yaml` --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bbf3612..6400908 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,4 +33,3 @@ repos: require_serial: true language: unsupported pass_filenames: false - types: [python]