| 1 |
[tox] |
| 2 |
isolated_build = true |
| 3 |
envlist = py, style |
| 4 |
|
| 5 |
|
| 6 |
[testenv] |
| 7 |
deps = |
| 8 |
pytest |
| 9 |
pytest-cov |
| 10 |
commands = |
| 11 |
{envpython} -m pytest --cov=codetiming --cov-fail-under=100 --cov-report=term-missing |
| 12 |
|
| 13 |
|
| 14 |
[testenv:style] |
| 15 |
skip_install = true |
| 16 |
deps = |
| 17 |
black |
| 18 |
flake8 |
| 19 |
interrogate |
| 20 |
isort |
| 21 |
mypy |
| 22 |
commands = |
| 23 |
{envpython} -m black --check --quiet codetiming/ tests/ |
| 24 |
{envpython} -m flake8 codetiming/ tests/ |
| 25 |
{envpython} -m interrogate --quiet --config=pyproject.toml |
| 26 |
{envpython} -m isort --check codetiming/ tests/ |
| 27 |
{envpython} -m mypy --strict codetiming/ |