pre-commit: Allow unsafe YAML
We're using tags in '.zuul.yaml', which requires use of the unsafe parser [1]. [1] https://stackoverflow.com/a/45967047 Change-Id: Ib97480f6fcaba7406ffe284e1935744346684b8b Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
366e164738
commit
e49ad1795b
@ -16,6 +16,7 @@ repos:
|
||||
- id: debug-statements
|
||||
- id: check-yaml
|
||||
files: .*\.(yaml|yml)$
|
||||
args: ['--unsafe']
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: flake8
|
||||
|
Loading…
Reference in New Issue
Block a user