diff options
author | Tzu-ping Chung <uranusjr@gmail.com> | 2021-03-10 11:53:19 +0800 |
---|---|---|
committer | Tzu-ping Chung <uranusjr@gmail.com> | 2021-03-10 13:06:21 +0800 |
commit | 4807de8e73bcd8052506ac0eff870d9575175b6d (patch) | |
tree | 2760d6527b3b22f026aa3ebdb91dab5992abe546 /setup.cfg | |
parent | 9624d0d529243354bda9820f0cc12257cbdf47f0 (diff) | |
download | pip-4807de8e73bcd8052506ac0eff870d9575175b6d.tar.gz |
Set follow_imports = silent
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -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 = |