diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b1739e1498..9fbe957c15 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,8 @@ repos: rev: v0.910 hooks: - id: mypy - + additional_dependencies: + - "types-setuptools" default_language_version: python: python3.8 diff --git a/setup.cfg b/setup.cfg index 98c8ec0662..eeeb3aa732 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,3 +33,6 @@ python_files = test_*.py testpaths = tests markers = fuzzing: Run Hypothesis fuzz test suite (deselect with '-m "not fuzzing"') + +[tool:mypy] +ignore_missing_imports = True