mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-21 03:37:15 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
* Bump pylint from 2.8.3 to 2.9.1 Bumps [pylint](https://github.com/PyCQA/pylint) from 2.8.3 to 2.9.1. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/v2.8.3...v2.9.1) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update pylintrc * Update base.py * Update base.py * Fix black * fix helper Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
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 py39 --check supervisor tests setup.py
|