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 /keystonemiddleware/s3_token.py | |
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 'keystonemiddleware/s3_token.py')
-rw-r--r-- | keystonemiddleware/s3_token.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keystonemiddleware/s3_token.py b/keystonemiddleware/s3_token.py index d71ab27..2ce284c 100644 --- a/keystonemiddleware/s3_token.py +++ b/keystonemiddleware/s3_token.py @@ -261,7 +261,7 @@ class S3Token(object): def filter_factory(global_conf, **local_conf): - """Returns a WSGI filter app for use with paste.deploy.""" + """Return a WSGI filter app for use with paste.deploy.""" conf = global_conf.copy() conf.update(local_conf) |