From 3429f1b4fa41d5a2110ea6a39585ee009d0a5daa Mon Sep 17 00:00:00 2001 From: Tobias Beckmann Date: Wed, 29 May 2024 08:55:35 +0200 Subject: [PATCH] enable mypy in pre-commit hook --- .pre-commit-config.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e3ab068..8260913 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,3 +9,15 @@ repos: rev: 'v2.0.4' hooks: - id: autopep8 + + - repo: https://github.com/pre-commit/mirrors-mypy + rev: 'v1.10.0' + hooks: + - id: mypy + # https://github.com/pre-commit/mirrors-mypy: + # Note that using the --install-types is problematic + additional_dependencies: + - types-setuptools + - typing_extensions + - aiohttp + args: [] # --strict \ No newline at end of file