diff options
author | 2024-08-31 13:15:39 +0100 | |
---|---|---|
committer | 2024-08-31 13:15:39 +0100 | |
commit | 13bf8557f85e7d143864c1b30250fa00c69d5834 (patch) | |
tree | 36e3f2c85f49c2ff4eaaf25018b04282b105c032 | |
parent | Add DMARC exporter to Prometheus scrape targets (diff) |
Use --unsafe in check-yaml pre-commit filter
This performs a syntax check instead of attempting a load to prevent
unresolvable tags (i.e. Ansible's `!vault`) from kicking up errors.
-rw-r--r-- | .pre-commit-config.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5954a1..f24cade 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: - id: check-merge-conflict - id: check-toml - id: check-yaml - args: [--allow-multiple-documents] + args: [--allow-multiple-documents, --unsafe] exclude: ^docs/mkdocs.yml - id: end-of-file-fixer - id: trailing-whitespace |