From 9aa080e66337ea3fd32492ede59eefa73886fb1e Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sun, 16 Oct 2016 23:22:00 -0700 Subject: [PATCH] mypy: Remove a bunch of now-unnecessary type: ignore annotations. Since mypy and typeshed have advanced a lot over the last several months, we no longer need these `type: ignore` annotations. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b51c922..df49cf8 100644 --- a/setup.py +++ b/setup.py @@ -71,7 +71,7 @@ except ImportError: sys.exit(1) try: import requests - assert(LooseVersion(requests.__version__) >= LooseVersion('0.12.1')) # type: ignore # https://github.com/JukkaL/mypy/issues/1165 + assert(LooseVersion(requests.__version__) >= LooseVersion('0.12.1')) except (ImportError, AssertionError): print("requests >=0.12.1 is not installed", file=sys.stderr) sys.exit(1)