2017-03-27 13:49:35 +02:00
|
|
|
[tox]
|
2019-10-30 23:18:04 +01:00
|
|
|
envlist = lint, tests, black
|
2017-03-27 13:49:35 +02:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
2018-07-27 16:34:47 +02:00
|
|
|
-r{toxinidir}/requirements.txt
|
2019-02-20 10:30:22 +01:00
|
|
|
-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
|
2018-11-18 12:08:46 +01:00
|
|
|
|
|
|
|
[testenv:tests]
|
|
|
|
basepython = python3
|
|
|
|
commands =
|
2019-07-06 18:07:15 +02:00
|
|
|
pytest --timeout=10 tests
|
2019-10-30 23:18:04 +01:00
|
|
|
|
|
|
|
[testenv:black]
|
|
|
|
basepython = python3
|
|
|
|
commands =
|
2024-01-13 16:35:07 +01:00
|
|
|
black --target-version py312 --check supervisor tests setup.py
|