32 lines
No EOL
528 B
INI
32 lines
No EOL
528 B
INI
[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/ |