Some custom hooks for pre-commit.
See also: https://github.com/pre-commit/pre-commit
Add this to your .pre-commit-config.yaml
- repo: https://github.com/legovaer/pre-commit-hooks
rev: v0.1.0 # Use the ref you want to point at
hooks:
- id: hide-hassio-secrets
# - id: ...
Generate a dummy secrets.yaml file.
- Specify the name of the secrets file with
args: ['--output=fake-secrets.yaml']
(default=secrets-fake.yaml).