Skip to content

Commit e49ad17

Browse files
committed
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>
1 parent 366e164 commit e49ad17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ repos:
1616
- id: debug-statements
1717
- id: check-yaml
1818
files: .*\.(yaml|yml)$
19+
args: ['--unsafe']
1920
- repo: local
2021
hooks:
2122
- id: flake8

0 commit comments

Comments
 (0)