1
mirror of https://github.com/home-assistant/supervisor synced 2024-09-07 16:20:07 +02:00
ha-supervisor/tox.ini
dependabot[bot] cd07bde307
Bump pylint from 2.8.3 to 2.9.1 (#2988)
* 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>
2021-07-01 18:07:15 +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 py39 --check supervisor tests setup.py