From 094d514384a9d0d1f42ef760aec9197213ec1fd3 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Wed, 12 May 2021 18:37:01 +0200 Subject: [PATCH] [enh] #162: Add mypy pre-commit hook isort before black otherwise there is a conflict --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47fe30ad..417c2ff4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,3 +3,7 @@ repos: rev: 21.5b0 hooks: - id: black +- repo: https://github.com/pre-commit/mirrors-mypy + rev: v0.812 + hooks: + - id: mypy -- GitLab