From d9ff054db496bd1d0f58b228054ce72c2206d999 Mon Sep 17 00:00:00 2001 From: Brian Rutledge Date: Tue, 8 Jun 2021 21:11:18 -0400 Subject: [PATCH 1/2] Install missing stubs for mypy 0.900 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index cb6141d2..5cf0dae9 100644 --- a/tox.ini +++ b/tox.ini @@ -73,6 +73,9 @@ deps = lxml # required for more thorough type declarations keyring >= 22.3 + # consider replacing with `mypy --install-types` if + # https://github.com/python/mypy/issues/10598 is resolved + types-requests commands = mypy --html-report mypy --txt-report mypy {posargs:twine} python -c 'with open("mypy/index.txt") as f: print(f.read())' From ce3960ce273d42f4d5a0b99e259ad470443469b4 Mon Sep 17 00:00:00 2001 From: Brian Rutledge Date: Sat, 12 Jun 2021 09:51:48 -0400 Subject: [PATCH 2/2] Update mypy issue --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 5cf0dae9..92ec5d97 100644 --- a/tox.ini +++ b/tox.ini @@ -73,8 +73,8 @@ deps = lxml # required for more thorough type declarations keyring >= 22.3 - # consider replacing with `mypy --install-types` if - # https://github.com/python/mypy/issues/10598 is resolved + # consider replacing with `mypy --install-types` when + # https://github.com/python/mypy/issues/10600 is resolved types-requests commands = mypy --html-report mypy --txt-report mypy {posargs:twine}