1
0
Fork 0
operator-repo/tox.ini

35 lines
502 B
INI
Raw Permalink 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-19 09:26:58 +00:00
isolated_build = True
2023-08-03 08:52:14 +00:00
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]
2023-08-19 09:26:58 +00:00
groups =
test
2023-08-03 08:52:14 +00:00
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]
2023-08-19 09:26:58 +00:00
groups =
lint
2023-08-19 09:13:58 +00:00
commands =
pylint src
[testenv:mypy]
2023-08-19 09:26:58 +00:00
groups =
test
lint
2023-08-19 09:13:58 +00:00
commands =
2023-08-18 10:44:43 +00:00
mypy --strict src tests
2023-08-19 09:13:58 +00:00
[testenv:bandit]
2023-08-19 09:26:58 +00:00
groups =
lint
2023-08-19 09:13:58 +00:00
commands =
bandit -c pyproject.toml -r .