mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-21 11:47:16 +00:00

* Migrate to python 3.8 * Fix tests on Py38 * cleanup tests Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
25 lines
468 B
INI
25 lines
468 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 py38 --check supervisor tests setup.py
|