From c92211460b571fbdf65420c82643ecb708b268f0 Mon Sep 17 00:00:00 2001 From: Wessel Bruinsma Date: Thu, 25 Jul 2024 11:27:47 +0200 Subject: [PATCH] Add `mypy` to pre-commit --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aaf52ee..7fb72f3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,3 +37,8 @@ repos: # Run the formatter. - id: ruff-format types_or: [python, pyi] + + - repo: https://github.com/pre-commit/mirrors-mypy + rev: "v1.11.0" + hooks: + - id: mypy