Add mypy support

This commit is contained in:
Christoph Burgdorf
2019-04-26 15:59:33 +02:00
parent 3c1bbfe738
commit 720b2cf3d2
3 changed files with 18 additions and 0 deletions

View File

@ -38,6 +38,7 @@ whitelist_externals=make
basepython=python
extras=lint
commands=
mypy -p {toxinidir}/<MODULE_NAME> --config-file {toxinidir}/mypy.ini
flake8 {toxinidir}/<MODULE_NAME> {toxinidir}/tests
isort --recursive --check-only --diff {toxinidir}/<MODULE_NAME> {toxinidir}/tests
pydocstyle {toxinidir}/<MODULE_NAME> {toxinidir}/tests