ha-supervisor/tox.ini

25 lines
469 B
INI
Raw Normal View History

2017-03-27 13:49:35 +02:00
[tox]
envlist = lint, tests, black
2017-03-27 13:49:35 +02:00
[testenv]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_tests.txt
2017-03-27 13:49:35 +02:00
[testenv:lint]
basepython = python3
ignore_errors = True
commands =
2020-05-18 10:06:07 +02:00
flake8 supervisor tests
pylint --rcfile pylintrc supervisor tests
[testenv:tests]
basepython = python3
commands =
pytest --timeout=10 tests
[testenv:black]
basepython = python3
commands =
black --target-version py312 --check supervisor tests setup.py