2015-08-08 01:40:26 +03:00
|
|
|
[tox]
|
2021-10-07 21:19:38 +03:00
|
|
|
envlist = py38,gcov
|
2015-08-08 01:40:26 +03:00
|
|
|
|
|
|
|
[testenv]
|
2015-09-18 20:14:49 +03:00
|
|
|
deps = -r{toxinidir}/requirements-dev.txt
|
2015-08-08 01:40:26 +03:00
|
|
|
commands =
|
2019-07-15 20:44:20 +03:00
|
|
|
pytest
|
2015-08-08 01:40:26 +03:00
|
|
|
|
2017-10-13 18:50:56 +03:00
|
|
|
[testenv:gcov]
|
|
|
|
skip_install = True
|
2021-10-07 21:19:38 +03:00
|
|
|
basepython = /usr/bin/python3.8
|
2017-10-13 18:50:56 +03:00
|
|
|
commands =
|
|
|
|
{toxinidir}/ci/gcov-build {envbindir}
|
|
|
|
{[testenv]commands}
|
|
|
|
{toxinidir}/ci/gcov-report
|
|
|
|
|
2015-08-08 01:40:26 +03:00
|
|
|
[testenv:pre-commit]
|
2021-10-07 21:19:38 +03:00
|
|
|
basepython = /usr/bin/python3.8
|
2016-09-13 18:53:13 +03:00
|
|
|
commands = pre-commit {posargs:run --all-files}
|
2015-09-29 20:33:26 +03:00
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max-line-length = 119
|
|
|
|
|
|
|
|
[pep8]
|
|
|
|
# autopep8 will rewrite lines to be shorter, even though we raised the length
|
|
|
|
ignore = E501
|