From 74ee50296372b04b9f1761d62912eb0646952ec8 Mon Sep 17 00:00:00 2001 From: Steven Loria Date: Fri, 15 Dec 2023 15:32:38 -0500 Subject: [PATCH] mypy precommit --- .pre-commit-config.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2da2a35..b586046 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,12 +19,8 @@ repos: hooks: - id: blacken-docs additional_dependencies: [black==22.10.0] -# Use a local hook to run mypy because the official hook runs mypy in a venv -# that doesn't have dependencies or their type annotations installed. -- repo: local +- repo: https://github.com/pre-commit/mirrors-mypy + rev: v1.6.1 hooks: - - id: mypy - name: mypy - entry: mypy - language: system - types: [python] + - id: mypy + additional_dependencies: ["marshmallow>=3,<4"]