generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f076c99
commit 641b945
Showing
8 changed files
with
665 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,9 +66,9 @@ jobs: | |
name: Lint | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: "actions/[email protected].1" | ||
uses: "actions/[email protected].2" | ||
- name: Setup Python ${{ env.DEFAULT_PYTHON }} | ||
uses: "actions/setup-python@v5.2.0" | ||
uses: "actions/setup-python@v5.3.0" | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
- name: Set up poetry | ||
|
@@ -79,3 +79,21 @@ jobs: | |
run: poetry run ruff check . | ||
- name: "Format" | ||
run: poetry run ruff format . --check | ||
|
||
|
||
mypy: | ||
runs-on: "ubuntu-latest" | ||
name: Typing | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: "actions/[email protected]" | ||
- name: Setup Python ${{ env.DEFAULT_PYTHON }} | ||
uses: "actions/[email protected]" | ||
with: | ||
python-version: ${{ env.DEFAULT_PYTHON }} | ||
- name: Set up poetry | ||
uses: snok/[email protected] | ||
- name: "Set up dependencies" | ||
run: poetry install --no-interaction | ||
- name: "mypy" | ||
run: poetry run mypy -p custom_components.hass_web_proxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ __pycache__ | |
*.egg-info | ||
*/build/* | ||
*/dist/* | ||
|
||
.mypy_cache/* | ||
|
||
# misc | ||
.coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.