Skip to content

Linting

Linting #634

Workflow file for this run

name: Linting
on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- uses: snok/install-poetry@main
- name: Install Dependencies
run: poetry install
shell: bash
- name: Run pre-commit
run: poetry run pre-commit run --all-files --show-diff-on-failure --color=always
shell: bash
hacs:
runs-on: "ubuntu-latest"
name: HACS
steps:
- uses: actions/checkout@v4
- name: HACS validation
uses: "hacs/action@main"
with:
category: "integration"
ignore: brands
hassfest:
runs-on: "ubuntu-latest"
name: Hassfest
steps:
- uses: actions/checkout@v4
- uses: "home-assistant/actions/hassfest@master"