From e49ad1795b9dd57d5a82fb6f8f365fa20041cf29 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 4 Jul 2022 12:14:56 +0100 Subject: [PATCH] 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 --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f91d10b7b..28ed93d8e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,6 +16,7 @@ repos: - id: debug-statements - id: check-yaml files: .*\.(yaml|yml)$ + args: ['--unsafe'] - repo: local hooks: - id: flake8