1[tox] 2envlist = py 3 4[testenv] 5cov_args=--cov=mako --cov-report term --cov-report xml 6 7deps=pytest>=3.1.0 8 beaker 9 markupsafe 10 pygments 11 babel 12 dogpile.cache 13 lingua<4 14 cov: pytest-cov 15 16setenv= 17 cov: COVERAGE={[testenv]cov_args} 18 19commands=pytest {env:COVERAGE:} {posargs} 20 21 22[testenv:pep8] 23basepython = python3 24deps= 25 flake8 26 flake8-import-order 27 flake8-builtins 28 flake8-docstrings 29 flake8-rst-docstrings 30 pydocstyle 31 # used by flake8-rst-docstrings 32 pygments 33 black==23.9.1 34commands = 35 flake8 ./mako/ ./test/ setup.py --exclude test/templates,test/foo {posargs} 36 black --check . 37