From: Thanh Ha Date: Sat, 15 Jul 2017 00:37:41 +0000 (-0400) Subject: Add write-good linting for docs X-Git-Tag: v0.6.0~5 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F5553%2F1;p=releng%2Flftools.git Add write-good linting for docs Write Good is a linter for English prose. Change-Id: Iace497dbfaf5ef7091bf6b52eb4d8d6c2b4d1134 Signed-off-by: Thanh Ha --- 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