Files
hdpv_ble/.github/workflows/lint.yml
Dustin Brewer 5d498b8753 Initial support for Parkland/TypeID 39 shades (#12)
* disabled home_id filter

* stronger typing

* Update .gitignore

* extend set_position() for all values

* support setting tilt

* completed tilt control

* add tilt functions

* Initial support for Parkland/TypeID 39 shades

* Update cover.py

* Update README.md

* simplify set_position()

* fix spelling issues

* Update .gitignore

* remove unverified shade types

* clean code

* fix ruff

* update linting

* Update lint.yml

---------

Co-authored-by: patman15 <14628713+patman15@users.noreply.github.com>
2025-12-30 10:00:39 +01:00

34 lines
698 B
YAML

name: "Lint the code"
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 5 * * 6'
jobs:
lint:
name: "Lint the code"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/checkout@main"
- name: "Set up Python"
uses: actions/setup-python@main
with:
python-version: "3.13.2"
cache: "pip"
- name: "Install requirements"
run: python3 -m pip install -r requirements.txt
- name: "Run ruff"
run: ruff check .
- name: "Run mypy"
run: mypy .
- name: "Run codespell"
run: codespell -L hass