summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNavid Pustchi <npustchi@gmail.com>2016-05-06 16:33:01 +0000
committerNavid Pustchi <npustchi@gmail.com>2016-05-06 16:36:15 +0000
commited931a00d81ed643c5138f4580cee04e1d69a2f8 (patch)
treeacb98b6ca590682984c7c2b9b3611d789c0b8849 /tox.ini
parentd7bf1a759d5da482c80b6f1563893455af49148d (diff)
downloadkeystonemiddleware-ed931a00d81ed643c5138f4580cee04e1d69a2f8.tar.gz
Fix D204 PEP257 violation and enable D301 and D209
Currently tox ignores D204, D209 and D301: D204: 1 blank line required after class docstring. D209: Multi-line docstring closing quotes should be on a separate line. D301: Use r""" if any backslashes in a docstring. This change makes keystonemiddleware docstrings compliant with D204. D209 and D301 is already passing, so this commit also enables them. Change-Id: I11e02ef5af7fc793f1a2438e091bbfb18618a7f5
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 1 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 8ce0723..f2e45f0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -43,10 +43,7 @@ commands = oslo_debug_helper {posargs}
# D105: Missing docstring in magic method
# D200: One-line docstring should fit on one line with quotes
# D202: No blank lines allowed after function docstring
-# D204: 1 blank line required after class docstring
-# D209: Multi-line docstring closing quotes should be on a separate line
-# D301: Use r""" if any backslashes in a docstring
-ignore = D100,D101,D102,D103,D104,D105,D200,D202,D209,D301,D204
+ignore = D100,D101,D102,D103,D104,D105,D200,D202
show-source = True
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*