diff --git a/.github/workflows/tox.yaml b/.github/workflows/tox.yaml index 67c0209..40ca8d9 100644 --- a/.github/workflows/tox.yaml +++ b/.github/workflows/tox.yaml @@ -1,6 +1,6 @@ name: Tox PR CI -on: [pull_request, workflow_dispatch] +on: [pull_request] jobs: build: @@ -14,8 +14,8 @@ jobs: platform: - ubuntu-latest python-version: + - 3.7 - 3.8 - - 3.9 steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index a04b218..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "files.associations": { - "*.yaml": "home-assistant" - } -} \ No newline at end of file diff --git a/requirements_test.txt b/requirements_test.txt index e65a9a5..d388fd6 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,9 +1,9 @@ black==21.4b0 codespell==2.0.0 flake8==3.9.2 -mypy==0.910 +mypy==0.901 pydocstyle==6.1.1 -cryptography==3.4.8 -pylint==2.11.1 +cryptography==3.2 +pylint==2.8.2 pylint-strict-informational==0.1 -homeassistant==2021.11.2 +homeassistant==2021.1.4 \ No newline at end of file diff --git a/tox.ini b/tox.ini index 75c6e56..1c72213 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,13 @@ [tox] skipsdist = true -envlist = py{38,39}, lint, typing +envlist = py{37,38}, lint, typing skip_missing_interpreters = True cs_exclude_words = hass,unvalid [gh-actions] python = + 3.7: clean, py37, lint, typing 3.8: clean, py38, lint, typing - 3.9: clean, py38, lint, typing [testenv] passenv = TOXENV CI @@ -35,4 +35,4 @@ commands = [testenv:typing] commands = - mypy --ignore-missing-imports --follow-imports=skip custom_components + mypy --ignore-missing-imports --follow-imports=skip custom_components \ No newline at end of file