mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-23 04:37:15 +00:00
25 lines
444 B
INI
25 lines
444 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 hassio
|
|
pylint --rcfile pylintrc hassio
|
|
|
|
[testenv:tests]
|
|
basepython = python3
|
|
commands =
|
|
pytest --timeout=10 tests
|
|
|
|
[testenv:black]
|
|
basepython = python3
|
|
commands =
|
|
black --target-version py37 --check hassio tests setup.py
|