[tox] envlist = py{27,35,36,37,38,39,310,311,py,py3},flake8,docs,headers skip_missing_interpreters = true [testenv] deps = pytest pytest-cov commands = pytest setenv= PYTHONWARNINGS=all py27,pypy: VIRTUALENV_SETUPTOOLS=43.0.0 py27,pypy: VIRTUALENV_PIP=19.3.1 [testenv:flake8] skip_install = true deps = flake8<6.0 flake8-author flake8-blind-except flake8-bugbear flake8-class-newline flake8-commas flake8-deprecated flake8-docstrings flake8-exact-pin flake8-isort flake8-print flake8-quotes flake8-tidy-imports flake8-tuple pep8-naming commands = flake8 . [testenv:docs] use_develop = true deps = Sphinx commands = sphinx-build -N -b html docs {envtmpdir}/sphinx -W [testenv:headers] skip_install = true deps = commands = python scripts/check_headers.py