summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg17
1 files changed, 15 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index 1d851d949..7746f08c9 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -36,10 +36,23 @@ 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 =