supervisor/tox.ini
Mike Degatano 2da27937a5
Update python to 3.12 (#4815)
* Update python to 3.12

* Fix tests and deprecations

* Fix other references to 3.11

* build.json doesn't exist
2024-01-13 16:35:07 +01:00

25 lines
469 B
INI

[tox]
envlist = lint, tests, black
[testenv]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_tests.txt
[testenv:lint]
basepython = python3
ignore_errors = True
commands =
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