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:
Stephen Finucane 2022-07-04 12:14:56 +01:00
parent 366e164738
commit e49ad1795b

View File

@ -16,6 +16,7 @@ repos:
- id: debug-statements
- id: check-yaml
files: .*\.(yaml|yml)$
args: ['--unsafe']
- repo: local
hooks:
- id: flake8