diff options
author | Pradyun S. Gedam <pradyunsg@gmail.com> | 2017-06-14 11:44:47 +0530 |
---|---|---|
committer | Pradyun S. Gedam <pradyunsg@gmail.com> | 2017-07-17 22:34:33 +0530 |
commit | ed9208efaffd4d93f09ef0e07b32e445d392e535 (patch) | |
tree | fb47e032f42dff82c919077a4930664e01e79c9a /setup.cfg | |
parent | bc637a84913d02dfd7ea75f3a958319769b6bec8 (diff) | |
download | pip-ed9208efaffd4d93f09ef0e07b32e445d392e535.tar.gz |
Improve mypy configuration
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -11,9 +11,19 @@ known_first_party = default_section = THIRDPARTY [flake8] +# Ignoring unused imports since mypy would warn of that. +ignore = F401 exclude = .tox,.idea,*.egg,build,_vendor,data select = E,W,F +[mypy] +follow_imports = silent +ignore_missing_imports = True + +[mypy-pip/_vendor/*] +follow_imports = skip +ignore_errors = True + [tool:pytest] addopts = --ignore pip/_vendor --ignore tests/tests_cache |