fix pep8 issue, disable one pep8 warning
This commit is contained in:
parent
0f2e0235cb
commit
fb84008b74
@ -141,7 +141,8 @@ class Command(BaseCommand):
|
|||||||
fqdn = h.get_fqdn()
|
fqdn = h.get_fqdn()
|
||||||
comment = h.comment
|
comment = h.comment
|
||||||
creator = h.created_by
|
creator = h.created_by
|
||||||
self.stdout.write("setting abuse flag for host %s (created by %s, client faults: %d)\n" % (
|
self.stdout.write(
|
||||||
|
"setting abuse flag for host %s (created by %s, client faults: %d)\n" % (
|
||||||
fqdn, creator, faults_count))
|
fqdn, creator, faults_count))
|
||||||
if notify_user:
|
if notify_user:
|
||||||
subject, msg = translate_for_user(
|
subject, msg = translate_for_user(
|
||||||
|
@ -32,6 +32,7 @@ pep8ignore =
|
|||||||
*.py E129 # visually indented line with same indent as next logical line
|
*.py E129 # visually indented line with same indent as next logical line
|
||||||
*.py E402 # we do not care about module level imports being at top of file
|
*.py E402 # we do not care about module level imports being at top of file
|
||||||
*.py E731 # we do assign lambda expressions if we like
|
*.py E731 # we do assign lambda expressions if we like
|
||||||
|
*.py W503 # we don't think this is an issue
|
||||||
docs/conf.py ALL # sphinx stuff, automatically generated, don't check this
|
docs/conf.py ALL # sphinx stuff, automatically generated, don't check this
|
||||||
migrations/*.py ALL # autogenerated by Django
|
migrations/*.py ALL # autogenerated by Django
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user