From c761385c372e15915f9cb11e87a568af8bb504ff Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 15 Mar 2018 14:11:05 -0400 Subject: [PATCH] proper mypy-pytest setup Signed-off-by: Kenneth Reitz --- Pipfile | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Pipfile b/Pipfile index 7863cdde..3bcfd773 100644 --- a/Pipfile +++ b/Pipfile @@ -21,10 +21,10 @@ docutils = "*" tox = "*" detox = "*" httpbin = "==0.5.0" -pytest-mypy = "*" +pytest-mypy = {git = "https://github.com/petr-muller/pytest-mypy", editable = true, ref = "flush-errors"} white = {version="*"} "e1839a8" = {path = ".", editable = true, extras=["socks"]} -mypy = "==0.540" +mypy = "*" "rfc3986" = "*" diff --git a/setup.py b/setup.py index daf27ab9..895f1406 100755 --- a/setup.py +++ b/setup.py @@ -84,7 +84,7 @@ test_requirements = [ 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0', 'pytest-mypy', - 'mypy==0.540', + 'mypy', 'white', ] about = {}