Enable YAMLLint 39/8539/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 25 Jan 2018 20:19:30 +0000 (15:19 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 25 Jan 2018 21:12:19 +0000 (16:12 -0500)
Change-Id: I42ee8edd5994126461636ea9d349ae912a9e6e13
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.coafile
yamllint.conf [new file with mode: 0644]

index 413c2e3..ef415b4 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -27,3 +27,8 @@ known_third_party_imports = pytest, six
 pydocstyle_ignore = D203, D213, D301
 max_line_length = 120
 
+[all.YAML]
+bears = YAMLLintBear
+files = docs_conf/**.yaml
+document_start = True
+yamllint_config = yamllint.conf
diff --git a/yamllint.conf b/yamllint.conf
new file mode 100644 (file)
index 0000000..b821cb8
--- /dev/null
@@ -0,0 +1,7 @@
+extends: default
+
+rules:
+  empty-lines:
+    max-end: 1
+  line-length:
+    max: 120