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