summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2022-07-04 12:14:56 +0100
committerStephen Finucane <sfinucan@redhat.com>2022-07-04 12:16:16 +0100
commite49ad1795b9dd57d5a82fb6f8f365fa20041cf29 (patch)
treed79b5189c5b1ea954dfdfc73c793f4f3716fd2b1
parent366e16473843c4388e1f3124e8ac732804a7ec5e (diff)
downloadpython-openstackclient-e49ad1795b9dd57d5a82fb6f8f365fa20041cf29.tar.gz
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>
-rw-r--r--.pre-commit-config.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f91d10b7..28ed93d8 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