summaryrefslogtreecommitdiff
path: root/test-requirements.txt
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2015-10-02 03:24:59 +0000
committerSteve Martinelli <stevemar@ca.ibm.com>2016-02-12 15:03:10 +0000
commit9c4100b85d277b558143b1af9dc9ffdc37802e37 (patch)
treefd144be207ec1186cbb9066ff90495f2e8e47b19 /test-requirements.txt
parentdc553133d854f31a54d3afd9fbe1b1370adbfaec (diff)
downloadpycadf-9c4100b85d277b558143b1af9dc9ffdc37802e37.tar.gz
Add docstring validation
This introduces a linter for PEP257 to avoid trivial nitpicking of docstrings in code reviews. Because flake8_docstrings simply provides a plugin to add pep257 to flake8, you can run it via `tox -e pep8`. PEP257 checks which we are currently violating are ignored in tox.ini. We can remove them from the ignored list as they are fixed. Related-Bug: 1501544 Change-Id: I01ebad7b70cf61dd80d3c06c6808d8178fbdd634
Diffstat (limited to 'test-requirements.txt')
-rw-r--r--test-requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 963a03c..ba4cab9 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -3,6 +3,7 @@
# process, which may cause wedges in the gate later.
# Hacking already pins down pep8, pyflakes and flake8
hacking<0.11,>=0.10.0
+flake8_docstrings==0.2.1.post1 # MIT
coverage>=3.6 # Apache-2.0
discover # BSD