diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 65d9dee8..d5510e05 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -2,7 +2,10 @@ name: Linting # yamllint disable-line rule:truthy -on: [push, pull_request] +on: + push: + pull_request: + workflow_dispatch: jobs: precommit: @@ -73,7 +76,7 @@ jobs: - name: 🏗 Get pip cache dir id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: ⤵️ Restore cached Python PIP packages uses: actions/cache@v3 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b6ab7e5d..67934eb7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,7 @@ jobs: - name: 🏗 Get pip cache dir id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: ⤵️ Restore cached Python PIP packages uses: actions/cache@v3 with: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index dda0c0c1..fe675af0 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -2,7 +2,10 @@ name: Testing # yamllint disable-line rule:truthy -on: [push, pull_request] +on: + push: + pull_request: + workflow_dispatch: jobs: pytest: @@ -23,7 +26,7 @@ jobs: - name: 🏗 Get pip cache dir id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: ⤵️ Restore cached Python PIP packages uses: actions/cache@v3 with: @@ -70,7 +73,7 @@ jobs: - name: 🏗 Get pip cache dir id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: ⤵️ Restore cached Python PIP packages uses: actions/cache@v3 with: diff --git a/.github/workflows/typing.yaml b/.github/workflows/typing.yaml index d0ef166e..45aa571d 100644 --- a/.github/workflows/typing.yaml +++ b/.github/workflows/typing.yaml @@ -26,7 +26,7 @@ jobs: - name: 🏗 Get pip cache dir id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: ⤵️ Restore cached Python PIP packages uses: actions/cache@v3 with: diff --git a/poetry.lock b/poetry.lock index e9f2663e..c675a550 100644 --- a/poetry.lock +++ b/poetry.lock @@ -990,7 +990,7 @@ multidict = ">=4.0" [metadata] lock-version = "1.1" python-versions = "^3.9" -content-hash = "061bd22cb1574ec52879547526f8c0d8c75dfed0bf44dec1a85dbf5e2a237cf0" +content-hash = "d6aaa12ee9c30fdf99c8332c8de95c9a86432e2273ad75fce0bed1f5969a958e" [metadata.files] aiohttp = [ @@ -1783,7 +1783,6 @@ wrapt = [ {file = "wrapt-1.14.1.tar.gz", hash = "sha256:380a85cf89e0e69b7cfbe2ea9f765f004ff419f34194018a6827ac0e3edfed4d"}, ] yamllint = [ - {file = "yamllint-1.28.0-py2.py3-none-any.whl", hash = "sha256:89bb5b5ac33b1ade059743cf227de73daa34d5e5a474b06a5e17fc16583b0cf2"}, {file = "yamllint-1.28.0.tar.gz", hash = "sha256:9e3d8ddd16d0583214c5fdffe806c9344086721f107435f68bad990e5a88826b"}, ] yarl = [ diff --git a/pyproject.toml b/pyproject.toml index 2a8d2bb7..6750a394 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,7 @@ repository = "https://github.com/klaasnicolaas/python-omnikinverter" documentation = "https://github.com/klaasnicolaas/python-omnikinverter" keywords = ["omnik", "inverter", "power", "energy", "async", "client"] classifiers = [ + "Development Status :: 5 - Production/Stable", "Framework :: AsyncIO", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", @@ -30,7 +31,7 @@ aiohttp = ">=3.0.0" yarl = ">=1.6.0" asynctest = "^0.13.0" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] aresponses = "^2.1.6" bandit = "^1.7.4" black = "^22.10" @@ -57,6 +58,7 @@ pytest-asyncio = "^0.20.2" pytest-cov = "^4.0.0" pyupgrade = "^3.2.2" safety = "^2.3.2" +tomli = "^2.0.1" vulture = "^2.6" yamllint = "^1.28.0" types-cachetools = "^5.2.1"