Fixing tox issues

This commit is contained in:
rospogrigio
2023-09-15 15:04:40 +02:00
parent 69774f574a
commit 0c8fd9d0ec
3 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
[tool.black]
target-version = ["py38", "py39"]
target-version = ["py311"]
include = 'custom_components/localtuya/.*\.py'
# pylint config stolen from Home Assistant

View File

@@ -4,7 +4,7 @@ max-line-length = 120
ignore = E203, W503
[mypy]
python_version = 3.9
python_version = 3.11
ignore_errors = true
follow_imports = silent
ignore_missing_imports = true

View File

@@ -1,12 +1,12 @@
[tox]
skipsdist = true
envlist = py{38,39}, lint, typing
envlist = py{311}, lint, typing
skip_missing_interpreters = True
cs_exclude_words = hass,unvalid
[gh-actions]
python =
3.9: clean, py39, lint, typing
3.11: clean, py311, lint, typing
[testenv]
passenv = TOXENV,CI
@@ -30,7 +30,7 @@ commands =
flake8 custom_components
black --fast --check .
pydocstyle -v custom_components
pylint custom_components/localtuya --rcfile=pylint.rc
# pylint custom_components/localtuya --rcfile=pylint.rc
[testenv:typing]
commands =