1
0
Fork 0
operator-repo/tox.ini

28 lines
533 B
INI
Raw Normal View History

2023-08-03 08:52:14 +00:00
[tox]
2023-08-19 09:13:58 +00:00
envlist = pylint, mypy, bandit, py{39,310,311,py39}
2023-08-03 08:52:14 +00:00
isolated_build = True ; This is required for a pyproject.toml based project.
2023-08-18 17:55:18 +00:00
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
2023-08-03 08:52:14 +00:00
[testenv]
groups = ; Dependency groups in pyproject.toml
dev
commands =
pytest --cov-report term-missing --cov-fail-under=100 --cov=operator_repo -v tests/
2023-08-19 09:13:58 +00:00
[testenv:pylint]
commands =
pylint src
[testenv:mypy]
commands =
2023-08-18 10:44:43 +00:00
mypy --strict src tests
2023-08-19 09:13:58 +00:00
[testenv:bandit]
commands =
bandit -c pyproject.toml -r .