From b8a25187de85f9e52764e5dd5102a70cdebe60e3 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Thu, 25 Jan 2018 15:19:30 -0500 Subject: [PATCH] Enable YAMLLint Change-Id: I42ee8edd5994126461636ea9d349ae912a9e6e13 Signed-off-by: Thanh Ha --- .coafile | 5 +++++ yamllint.conf | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 yamllint.conf diff --git a/.coafile b/.coafile index 413c2e3..ef415b4 100644 --- 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 index 0000000..b821cb8 --- /dev/null +++ b/yamllint.conf @@ -0,0 +1,7 @@ +extends: default + +rules: + empty-lines: + max-end: 1 + line-length: + max: 120 -- 2.16.6