summaryrefslogtreecommitdiff
path: root/test-requirements.txt
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2015-10-01 16:59:36 +0000
committerlin-hua-cheng <os.lcheng@gmail.com>2015-11-09 19:27:47 -0800
commit5fa4f79e57501efa3d3d5b13a3adf18f727b0731 (patch)
tree3ad10560bff052f8fad8bcb3c7975c7f0e007e8b /test-requirements.txt
parenteb77abd77a25baa556de4df527404b907748d3c6 (diff)
downloadpython-keystoneclient-5fa4f79e57501efa3d3d5b13a3adf18f727b0731.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. Change-Id: I01ebad7b70cf61dd80d3c06c6808d8178fbdd634 Related-Bug: 1501544 Depends-On: I60adf0dca4aa32f4ef6bca61250b375c8a3703c6
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 cf57f14..9a7de33 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -3,6 +3,7 @@
# process, which may cause wedges in the gate later.
hacking<0.11,>=0.10.0
+flake8_docstrings==0.2.1.post1
coverage>=3.6
discover