Newest version of home assistant adds a new parameter to the hass constructor. #17
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: Code Style | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
name: Setup Python | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r requirements.dev.txt | |
- name: Ruff | |
run: ruff . | |
- name: Black | |
run : black . | |
- name: Codespell | |
run: codespell --ignore-words-list=hass | |
- name: MyPy | |
run: mypy --ignore-missing-imports --explicit-package-bases --check-untyped-defs . |