add flake8-pep3101

This commit is contained in:
Robert Kaussow 2020-04-11 14:00:54 +02:00
parent 42d7d57e9b
commit d60d539631
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class DoctorError(Exception):
"""Generic exception class for ansible-doctor.""" """Generic exception class for ansible-doctor."""
def __init__(self, msg, original_exception=""): def __init__(self, msg, original_exception=""):
super(DoctorError, self).__init__(msg + ("\n%s" % original_exception)) super(DoctorError, self).__init__("{msg}\n{org}".format(msg=msg, org=original_exception))
self.original_exception = original_exception self.original_exception = original_exception

View File

@ -8,6 +8,7 @@ flake8-isort
flake8-logging-format flake8-logging-format
flake8-polyfill flake8-polyfill
flake8-quotes flake8-quotes
flake8-pep3101
flake8-eradicate; python_version >= "3.6" flake8-eradicate; python_version >= "3.6"
pep8-naming pep8-naming
wheel wheel