many-repos/tox.ini

32 lines
528 B
INI
Raw Normal View History

2024-05-27 08:55:13 +02:00
[tox]
requires =
tox>=4
env_list =
py{310,311,312}
lint
coverage
type
[testenv]
description = run the tests with pytest
deps = pytest
commands =
pytest {posargs:tests}
[testenv:type]
description = run type checks
deps = mypy
commands =
mypy {posargs:many_repos tests}
[testenv:lint]
description = run linter
deps = ruff
commands = ruff check {posargs:many_repos tests}
[testenv:coverage]
description = run coverage report
deps =
pytest
pytest-cov
commands = pytest --cov=many_repos tests/