Files
num2words/tox.ini
2022-08-18 18:52:01 +02:00

38 lines
661 B
INI

[tox]
envlist = py36,py37,py38,py39,py310,flake8,isort
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: isort, flake8, py310
[testenv]
passenv = GITHUB_*
deps =
coverage
delegator.py
commands =
coverage run -m unittest discover
coverage report --fail-under=75 --omit=.tox/*,tests/*,/usr/*
coverage report --fail-under=100 --include=tests/* --skip-covered
[testenv:flake8]
changedir = {toxinidir}
deps =
flake8
flake8-copyright
commands =
flake8
[testenv:isort]
changedir = {toxinidir}
deps =
isort
delegator.py
commands =
isort --check-only --float-to-top --diff num2words tests