From 50ee622e1abfa1327b4c72931f84622282d311bd Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 27 Jan 2016 12:18:02 -0800 Subject: [PATCH] Add type: ignore for mypy __cmp__ bug. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2994d71..939bb6d 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ except ImportError: sys.exit(1) try: import requests - assert(LooseVersion(requests.__version__) >= LooseVersion('0.12.1')) + assert(LooseVersion(requests.__version__) >= LooseVersion('0.12.1')) # type: ignore # https://github.com/JukkaL/mypy/issues/1165 except (ImportError, AssertionError): print("requests >=0.12.1 is not installed", file=sys.stderr) sys.exit(1)