typing: minimal changes to make a no-op mypy run pass

This commit is contained in:
Stefano Zacchiroli 2019-10-11 15:15:09 +02:00
parent 78105940ff
commit 974f80f966
18 changed files with 135 additions and 47 deletions

10
tox.ini
View file

@ -1,5 +1,5 @@
[tox]
envlist=flake8,py3
envlist=flake8,mypy,py3
[testenv:py3]
deps =
@ -25,3 +25,11 @@ deps =
flake8
commands =
{envpython} -m flake8
[testenv:mypy]
skip_install = true
deps =
.[testing]
mypy
commands =
mypy swh