Wrap aiohttp.ClientError and TimeoutError in HomeAssistantError subclass #30
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: | |
- push | |
- pull_request | |
jobs: | |
linter: | |
name: Linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
cache: pip | |
- name: Install requirements | |
run: python3 -m pip install -r requirements.txt | |
- name: Check code-style | |
run: python3 -m ruff check . | |
typechecker: | |
name: Typechecker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
cache: pip | |
- name: Install requirements | |
run: python3 -m pip install -r requirements.txt | |
- name: Check types | |
run: basedpyright |