mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-19 10:47:15 +00:00

* Migrate to Ruff for lint and format * Fix pylint issues * DBus property sets into normal awaitable methods * Fix tests relying on separate tasks in connect * Fixes from feedback
16 lines
390 B
YAML
16 lines
390 B
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.1.14
|
|
hooks:
|
|
- id: ruff
|
|
args:
|
|
- --fix
|
|
- id: ruff-format
|
|
files: ^((supervisor|tests)/.+)?[^/]+\.py$
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: check-executables-have-shebangs
|
|
stages: [manual]
|
|
- id: check-json
|