heckweasel/tox.ini

25 lines
651 B
INI
Raw Normal View History

2019-04-15 02:50:56 +02:00
[tox]
envlist=py{36,37,38,39}-{code-quality, unit} #, py37-sphinx
2019-04-15 02:50:56 +02:00
skipsdist = true
[testenv]
setenv =
LANG = en_US.UTF-8
deps = .[tests]
commands =
2023-04-19 02:31:25 +02:00
unit: py.test --strict --cov-report=term-missing --cov=heckweasel heckweasel/tests/unit {posargs}
code-quality: flake8 heckweasel
code-quality: black -l 120 --check heckweasel
2019-04-15 02:50:56 +02:00
code-quality: - prospector -A
2023-04-19 02:31:25 +02:00
code-quality: - mypy --ignore-missing-imports heckweasel
2019-04-15 02:50:56 +02:00
# sphinx: python setup.py build_sphinx -b html
# sphinx: python setup.py build_sphinx -b man
basepython =
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
2019-04-15 02:50:56 +02:00
[flake8]
max-line-length = 120