summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Moore <p.f.moore@gmail.com>2018-03-24 11:41:51 +0000
committerPaul Moore <p.f.moore@gmail.com>2018-03-24 11:41:51 +0000
commit6e8af823f10570f844d58703bafa1aa85591d11b (patch)
treeb113f570d022204618b109c7adbb740f179068d6 /src
parentc74c3d13802c76888520885fedbae9031a7d6d0f (diff)
downloadpip-6e8af823f10570f844d58703bafa1aa85591d11b.tar.gz
Silence invalid mypy errors (see python/typeshed#1985)
Diffstat (limited to 'src')
-rw-r--r--src/pip/_internal/commands/show.py2
-rw-r--r--src/pip/_internal/req/req_install.py2
-rw-r--r--src/pip/_internal/utils/packaging.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/pip/_internal/commands/show.py b/src/pip/_internal/commands/show.py
index f5ddd50e7..ec6ebb710 100644
--- a/src/pip/_internal/commands/show.py
+++ b/src/pip/_internal/commands/show.py
@@ -2,7 +2,7 @@ from __future__ import absolute_import
import logging
import os
-from email.parser import FeedParser
+from email.parser import FeedParser # type: ignore
from pip._vendor import pkg_resources
from pip._vendor.packaging.utils import canonicalize_name
diff --git a/src/pip/_internal/req/req_install.py b/src/pip/_internal/req/req_install.py
index 889fe1d39..983e7458f 100644
--- a/src/pip/_internal/req/req_install.py
+++ b/src/pip/_internal/req/req_install.py
@@ -10,7 +10,7 @@ import traceback
import warnings
import zipfile
from distutils.util import change_root
-from email.parser import FeedParser
+from email.parser import FeedParser # type: ignore
from pip._vendor import pkg_resources, pytoml, six
from pip._vendor.packaging import specifiers
diff --git a/src/pip/_internal/utils/packaging.py b/src/pip/_internal/utils/packaging.py
index 98cdb6820..a574c3288 100644
--- a/src/pip/_internal/utils/packaging.py
+++ b/src/pip/_internal/utils/packaging.py
@@ -2,7 +2,7 @@ from __future__ import absolute_import
import logging
import sys
-from email.parser import FeedParser
+from email.parser import FeedParser # type: ignore
from pip._vendor import pkg_resources
from pip._vendor.packaging import specifiers, version