prevent duplicate discovery for device based discovery flow #3179
Workflow file for this run
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
name: Lint | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**.py' | |
- 'poetry.lock' | |
pull_request: | |
paths: | |
- '**.py' | |
- 'poetry.lock' | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Powercalc | |
uses: actions/checkout@v4 | |
- uses: ./.github/workflows/poetry-composite-action | |
- name: Run MyPy | |
run: | | |
poetry run mypy ./custom_components/powercalc | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Powercalc | |
uses: actions/checkout@v4 | |
- uses: ./.github/workflows/poetry-composite-action | |
- name: Run Ruff | |
run: | | |
poetry run ruff check . |