supervisor/tox.ini
Pascal Vizeli 380ca13be1
Pin Black (#1355)
* Pin black version

* fix devcontainer
2019-10-30 23:18:04 +01:00

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