From 9bf191d29564f4d7fe26499416fed4cada7f2dc8 Mon Sep 17 00:00:00 2001 From: Jiri Podivin Date: Tue, 28 Jun 2022 08:51:49 +0200 Subject: [PATCH] Adding yamllint configuration file and fixing style violations Signed-off-by: Jiri Podivin Change-Id: I13d8b91c20a08d0b59bd644bd19605311355be05 --- .yamllint | 14 ++++++++++++++ .zuul.yaml | 1 + playbooks/post.yaml | 1 + skiplist-example.yaml | 1 + 4 files changed, 17 insertions(+) create mode 100644 .yamllint diff --git a/.yamllint b/.yamllint new file mode 100644 index 00000000..cf0d4655 --- /dev/null +++ b/.yamllint @@ -0,0 +1,14 @@ +--- +extends: default + +rules: + line-length: + # matches hardcoded 160 value from ansible-lint + max: 160 + indentation: + spaces: consistent + indent-sequences: true + check-multi-line-strings: false + +ignore: | + releasenotes/notes/*.yaml diff --git a/.zuul.yaml b/.zuul.yaml index f11a6e59..90dc4740 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,3 +1,4 @@ +--- - job: name: validations-libs-functional parent: devstack diff --git a/playbooks/post.yaml b/playbooks/post.yaml index 853f4e29..0384ca20 100644 --- a/playbooks/post.yaml +++ b/playbooks/post.yaml @@ -1,3 +1,4 @@ +--- - hosts: tempest vars: tox_envlist: functional diff --git a/skiplist-example.yaml b/skiplist-example.yaml index 8798d8f1..9139b0e3 100644 --- a/skiplist-example.yaml +++ b/skiplist-example.yaml @@ -1,3 +1,4 @@ +--- check-ram: hosts: all # reason and lp key is not mandatory for the VF. Those values are in the list