summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorPradyun S. Gedam <pradyunsg@gmail.com>2017-06-14 11:44:47 +0530
committerPradyun S. Gedam <pradyunsg@gmail.com>2017-07-17 22:34:33 +0530
commited9208efaffd4d93f09ef0e07b32e445d392e535 (patch)
treefb47e032f42dff82c919077a4930664e01e79c9a /setup.cfg
parentbc637a84913d02dfd7ea75f3a958319769b6bec8 (diff)
downloadpip-ed9208efaffd4d93f09ef0e07b32e445d392e535.tar.gz
Improve mypy configuration
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 3689f7f63..881423e08 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -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