Enable codespell and fix mistakes
This commit is contained in:
4
tox.ini
4
tox.ini
@@ -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
|
||||
|
Reference in New Issue
Block a user