-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
23 lines (23 loc) · 903 Bytes
/
.pre-commit-config.yaml
File metadata and controls
23 lines (23 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
repos:
# yamllint has trouble with scalars like '- lambda: |- '
# - repo: https://github.com/google/yamlfmt
# rev: v0.10.0
# hooks:
# - id: yamlfmt
- repo: local
hooks:
- id: esphome-openspool-mini
name: ESPHome Validate Solo Config
# entry: bash -c 'podman run -v "$(pwd)/firmware:/data" --rm ghcr.io/esphome/esphome:2024.11.0 config /data/openspool-mini.yaml'
entry: esphome config firmware/openspool-mini.yaml
language: system
pass_filenames: false
files: ^firmware/
- id: esphome-openspool-ams
name: ESPHome Validate AMS Config
# entry: bash -c 'podman run -v "$(pwd)/firmware:/data" --rm ghcr.io/esphome/esphome:2024.11.0 config /data/openspool-ams.yaml'
entry: esphome config firmware/openspool-ams.yaml
language: system
pass_filenames: false
files: ^firmware/