ha-supervisor/.pre-commit-config.yaml

16 lines
389 B
YAML
Raw Permalink Normal View History

2020-07-05 20:20:29 +02:00
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.1
2020-07-05 20:20:29 +02:00
hooks:
- id: ruff
2020-07-05 20:20:29 +02:00
args:
- --fix
- id: ruff-format
2020-07-05 20:20:29 +02:00
files: ^((supervisor|tests)/.+)?[^/]+\.py$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
2020-07-05 20:20:29 +02:00
hooks:
- id: check-executables-have-shebangs
stages: [manual]
- id: check-json