[tox] envlist = lint, py3{7,8,9} skip_missing_interpreters = true [testenv] deps = -r requirements.txt -r dev-requirements.txt ; download the latest pip, setuptools and wheel when creating the venv download = true commands = pytest tests/ [testenv:lint] skip_install = true deps = -r dev-requirements.txt commands = black --check --diff Lib/gflanguages --exclude .*pb2.py isort --check-only Lib/gflanguages --skip Lib/gflanguages/languages_public_pb2.py [isort] profile = black