2020-07-05 20:20:29 +02:00
|
|
|
repos:
|
2024-02-05 17:37:39 +01:00
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2024-02-14 09:11:26 +01:00
|
|
|
rev: v0.2.1
|
2020-07-05 20:20:29 +02:00
|
|
|
hooks:
|
2024-02-05 17:37:39 +01:00
|
|
|
- id: ruff
|
2020-07-05 20:20:29 +02:00
|
|
|
args:
|
2024-02-05 17:37:39 +01:00
|
|
|
- --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
|
2024-01-13 16:35:07 +01:00
|
|
|
rev: v4.5.0
|
2020-07-05 20:20:29 +02:00
|
|
|
hooks:
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
stages: [manual]
|
|
|
|
- id: check-json
|