From e3ce5d6b539a7d4cb5f06f097ac4eaceb43685b2 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Wed, 28 Oct 2020 22:21:13 +0200 Subject: [PATCH] pre-commit: install typed dependencies in the mypy target Otherwise, mypy doesn't know about them and their types are considered Any. --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2d351182e..3a7b236bb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,6 +56,9 @@ repos: args: [] additional_dependencies: - iniconfig>=1.1.0 + - py>=1.8.2 + - attrs>=19.2.0 + - packaging - repo: local hooks: - id: rst