blob: 98d541bd37f7a2bb51ae120eda5bed90a6a082bf [file] [log] [blame]
[tox]
envlist = py
[testenv]
cov_args=--cov=mako --cov-report term --cov-report xml
deps=pytest>=3.1.0
beaker
markupsafe
pygments
babel
dogpile.cache
lingua<4
cov: pytest-cov
setenv=
cov: COVERAGE={[testenv]cov_args}
commands=pytest {env:COVERAGE:} {posargs}
[testenv:pep8]
basepython = python3
deps=
flake8
flake8-import-order
flake8-builtins
flake8-docstrings
flake8-rst-docstrings
pydocstyle
# used by flake8-rst-docstrings
pygments
black==23.9.1
commands =
flake8 ./mako/ ./test/ setup.py --exclude test/templates,test/foo {posargs}
black --check .