diff options
author | Navid Pustchi <npustchi@gmail.com> | 2016-05-06 16:33:01 +0000 |
---|---|---|
committer | Navid Pustchi <npustchi@gmail.com> | 2016-05-06 16:36:15 +0000 |
commit | ed931a00d81ed643c5138f4580cee04e1d69a2f8 (patch) | |
tree | acb98b6ca590682984c7c2b9b3611d789c0b8849 /tox.ini | |
parent | d7bf1a759d5da482c80b6f1563893455af49148d (diff) | |
download | keystonemiddleware-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.ini | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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* |