1
mirror of https://github.com/home-assistant/supervisor synced 2024-10-02 06:19:58 +02:00
ha-supervisor/tox.ini
Pascal Vizeli bdfcf1a2df
Migrate to python 3.8 (#1824)
* Migrate to python 3.8

* Fix tests on Py38

* cleanup tests

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-07-13 22:26:41 +02:00

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