Enable codespell and fix mistakes

This commit is contained in:
Pierre Ståhl
2020-09-23 17:57:19 +02:00
parent 4e72767b30
commit 02a2f08c40
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
skipsdist = true
envlist = py{37,38}, lint, typing
skip_missing_interpreters = True
cs_exclude_words =
cs_exclude_words = hass,unvalid
[gh-actions]
python =
@@ -27,7 +27,7 @@ ignore_errors = True
deps =
{[testenv]deps}
commands =
#codespell -q 4 -L {[tox]cs_exclude_words} --skip="*.pyc,*.pyi,*~" custom_components
codespell -q 4 -L {[tox]cs_exclude_words} --skip="*.pyc,*.pyi,*~" custom_components
flake8 custom_components
black --fast --check .
pydocstyle -v custom_components