[tox] envlist = py36,py37,py38,py39,lint [testenv] deps = pytest commands = pytest [testenv:lint] basepython = python3.6 deps = .[lint] commands = black --check setup.py app flake8 setup.py app