Fix D200: One-line docstring should fit on one line with quotes (PEP257)

Change-Id: Icd658499de092e58fca1344c6ab3bc5aebcba7ff
This commit is contained in:
Dolph Mathews 2016-05-16 16:56:35 -05:00 committed by Steve Martinelli
parent ee73f702a3
commit a2afaa9434
3 changed files with 4 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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*