From 82c3c421932d0e1be3292431ed37e54ee5347ff1 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 12 Mar 2018 12:32:27 -0400 Subject: [PATCH] mypy Signed-off-by: Kenneth Reitz --- Makefile | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 62c6cbab..3f91922f 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ test: # This runs all of the tests, on both Python 2 and Python 3. python setup.py test mypy: - python setup.py test -a--mypy + python setup.py mypy ci: pipenv run py.test -n 8 --boxed --junitxml=report.xml diff --git a/setup.py b/setup.py index 184362fb..cf329a9f 100755 --- a/setup.py +++ b/setup.py @@ -65,7 +65,7 @@ requires = [ 'certifi>=2017.4.17' ] -test_requirements = ['pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0'] +test_requirements = ['pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0', 'pytest-mypy', 'mypy==0.540'] about = {} with open(os.path.join(here, 'requests', '__version__.py'), 'r', 'utf-8') as f: