diff options
author | Navid Pustchi <npustchi@gmail.com> | 2016-05-04 22:08:29 +0000 |
---|---|---|
committer | Samuel de Medeiros Queiroz <samueldmq@gmail.com> | 2016-05-05 15:52:26 +0000 |
commit | 92983b1da80f8ae4d7c3eddc5b43d8c8b0e5f23a (patch) | |
tree | a6d4be430fd7fce1fe83ba1259cabbab19426492 /tox.ini | |
parent | 89ec136e5a92e9d7f309b8b5e33a04782b548b1c (diff) | |
download | keystonemiddleware-92983b1da80f8ae4d7c3eddc5b43d8c8b0e5f23a.tar.gz |
Fix D401 PEP257 violation and enable H403
Currently tox ignores D401 and H403:
401: First line should be in imperative mood.
403: multi line docstrings should end on a new line
This change makes keystonemiddleware docstrings compliant with D401.
H403 is already passing, so this commit also enables it.
Change-Id: I9471721220c99f9c4ed055840ed626bb7750eb3f
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -47,9 +47,7 @@ commands = oslo_debug_helper {posargs} # D209: Multi-line docstring closing quotes should be on a separate line # D301: Use r""" if any backslashes in a docstring # D400: First line should end with a period -# D401: First line should be in imperative mood -# H403: multi line docstrings should end on a new line -ignore = D100,D101,D102,D103,D104,D105,D200,D202,D209,D301,D204,D400,D401,H403 +ignore = D100,D101,D102,D103,D104,D105,D200,D202,D209,D301,D204,D400 show-source = True exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common* |