From 4a26b0d36ba4ecdc6b2d323be85a0e624903aea2 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Thu, 25 Jan 2018 15:06:50 -0500 Subject: [PATCH] Add Documentation linting Change-Id: I6e1cfebca8289549222e0879ca30f67067561484 Signed-off-by: Thanh Ha --- .coafile | 4 ++++ tox.ini | 1 + 2 files changed, 5 insertions(+) diff --git a/.coafile b/.coafile index ef415b4..fe3628c 100644 --- a/.coafile +++ b/.coafile @@ -6,6 +6,10 @@ ignore = .tox/**, .gitmodules, node_modules/** +[all.Documentation] +bears = WriteGoodLintBear +files = docs/**.rst + [all.Git] bears = GitCommitBear ignore_length_regex = Signed-off-by, diff --git a/tox.ini b/tox.ini index 144a720..00e1da8 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,7 @@ deps = nodeenv==1.1.2 commands = nodeenv -p + npm install --global write-good coala --non-interactive [testenv:docs] -- 2.16.6