Merge "Fix D200: One-line docstring should fit on one line with quotes (PEP257)"
This commit is contained in:
commit
287776cd56
@ -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…
x
Reference in New Issue
Block a user