From 6e221ed746207e06ef4469cd6c34ea901fc71f5a Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Fri, 14 Jul 2017 20:37:41 -0400 Subject: [PATCH] Add write-good linting for docs Write Good is a linter for English prose. Change-Id: Iace497dbfaf5ef7091bf6b52eb4d8d6c2b4d1134 Signed-off-by: Thanh Ha --- .coafile | 4 ++++ tox.ini | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.coafile b/.coafile index 17c66085..e1128394 100644 --- a/.coafile +++ b/.coafile @@ -6,6 +6,10 @@ ignore_length_regex = Signed-off-by, http://, https:// +[Documentation] +bears = WriteGoodLintBear +files = docs/**/*.rst + [Python] bears = BanditBear, PEP8Bear, diff --git a/tox.ini b/tox.ini index e2f77878..52fb4c0b 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,10 @@ basepython = python3 deps = coala coala-bears + nodeenv==1.1.2 commands = + nodeenv -p + npm install --global write-good python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger coala --non-interactive -- 2.16.6