pre-commit: Allow for multi-document yaml files

Which is valid yaml.
In case we want to make settings for json formatting in .clang-format.
This commit is contained in:
Sergio Martins
2022-07-11 19:23:58 +01:00
parent 025c49c583
commit 0f66fe853d

View File

@@ -10,6 +10,7 @@ repos:
- id: check-added-large-files
- id: check-case-conflict
- id: check-yaml
args: [--allow-multiple-documents]
- id: check-json
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.0