Fix D200: One-line docstring should fit on one line with quotes (PEP257)
Change-Id: Icd658499de092e58fca1344c6ab3bc5aebcba7ff
This commit is contained in:
parent
ee73f702a3
commit
a2afaa9434
|
@ -61,17 +61,13 @@ class InvalidMacError(Exception):
|
|||
|
||||
|
||||
class DecryptError(Exception):
|
||||
"""raise when unable to decrypt encrypted data.
|
||||
|
||||
"""
|
||||
"""raise when unable to decrypt encrypted data."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class CryptoUnavailableError(Exception):
|
||||
"""raise when Python Crypto module is not available.
|
||||
|
||||
"""
|
||||
"""raise when Python Crypto module is not available."""
|
||||
|
||||
pass
|
||||
|
||||
|
|
|
@ -15,10 +15,7 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
"""
|
||||
Starting point for routing EC2 requests.
|
||||
|
||||
"""
|
||||
"""Starting point for routing EC2 requests."""
|
||||
|
||||
import hashlib
|
||||
import logging
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -41,8 +41,7 @@ commands = oslo_debug_helper {posargs}
|
|||
# D103: Missing docstring in public function
|
||||
# D104: Missing docstring in public package
|
||||
# D105: Missing docstring in magic method
|
||||
# D200: One-line docstring should fit on one line with quotes
|
||||
ignore = D100,D101,D102,D103,D104,D105,D200
|
||||
ignore = D100,D101,D102,D103,D104,D105
|
||||
show-source = True
|
||||
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*
|
||||
|
||||
|
|
Loading…
Reference in New Issue