You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
646 B
24 lines
646 B
[tox]
|
|
envlist=py{36,37,38,39}-{code-quality, unit} #, py37-sphinx
|
|
skipsdist = true
|
|
|
|
[testenv]
|
|
setenv =
|
|
LANG = en_US.UTF-8
|
|
deps = .[tests]
|
|
commands =
|
|
unit: py.test --strict --cov-report=term-missing --cov=pixywerk2 pixywerk2/tests/unit {posargs}
|
|
code-quality: flake8 pixywerk2
|
|
code-quality: black -l 120 --check pixywerk2
|
|
code-quality: - prospector -A
|
|
code-quality: - mypy --ignore-missing-imports pixywerk2
|
|
# 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
|
|
|
|
[flake8]
|
|
max-line-length = 120
|
|
|