From 7b2109fb076e5e014bf98ee9db601336b859663d Mon Sep 17 00:00:00 2001 From: stijndcl Date: Mon, 29 Aug 2022 18:33:44 +0200 Subject: [PATCH] Add mypy to precommit --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 10eabb9..7b320a4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,3 +44,9 @@ repos: - "flake8-eradicate" - "flake8-isort" - "flake8-simplify" + +- repo: https://github.com/pre-commit/mirrors-mypy + rev: v0.961 + hooks: + - id: mypy + args: [--config, pyproject.toml]