Set follow_imports = silent

This commit is contained in:
Tzu-ping Chung 2021-03-10 11:53:19 +08:00
parent 9624d0d529
commit 4807de8e73
1 changed files with 16 additions and 2 deletions

View File

@ -31,15 +31,29 @@ per-file-ignores =
tests/*: B011
[mypy]
follow_imports = silent
ignore_missing_imports = True
disallow_untyped_defs = True
disallow_any_generics = True
warn_unused_ignores = True
[mypy-pip/_vendor/*]
follow_imports = skip
[mypy-pip._vendor.*]
ignore_errors = True
# These vendored libraries use runtime magic to populate things and don't sit
# well with static typing out of the box. Eventually we should provide correct
# typing information for their public interface and remove these configs.
[mypy-pip._vendor.colorama]
follow_imports = skip
[mypy-pip._vendor.pkg_resources]
follow_imports = skip
[mypy-pip._vendor.progress.*]
follow_imports = skip
[mypy-pip._vendor.requests.*]
follow_imports = skip
[mypy-pip._vendor.retrying]
follow_imports = skip
[tool:pytest]
addopts = --ignore src/pip/_vendor --ignore tests/tests_cache -r aR
markers =