typecheck with mypy

development
Thomas Lindner 2021-11-17 23:46:38 +01:00
parent a47c52d8ad
commit 4a10c7a9ba
1 changed files with 9 additions and 12 deletions

View File

@ -30,22 +30,19 @@ console_scripts =
basicpy = basicpy:main
[tox:tox]
envlist = py38, flake8, black, pytest
envlist = py38, py39
isolated_build = True
[testenv:flake8]
deps = flake8
commands =
flake8 src tests
[testenv:black]
deps = black
[testenv]
deps =
black
flake8
mypy
pytest
commands =
black --check --diff src tests
[testenv:pytest]
deps = pytest
commands =
flake8 src tests
mypy src tests
pytest tests
[flake8]