fix pep8 issue, disable one pep8 warning
This commit is contained in:
parent
0f2e0235cb
commit
fb84008b74
@ -141,8 +141,9 @@ class Command(BaseCommand):
|
||||
fqdn = h.get_fqdn()
|
||||
comment = h.comment
|
||||
creator = h.created_by
|
||||
self.stdout.write("setting abuse flag for host %s (created by %s, client faults: %d)\n" % (
|
||||
fqdn, creator, faults_count))
|
||||
self.stdout.write(
|
||||
"setting abuse flag for host %s (created by %s, client faults: %d)\n" % (
|
||||
fqdn, creator, faults_count))
|
||||
if notify_user:
|
||||
subject, msg = translate_for_user(
|
||||
creator,
|
||||
|
@ -32,6 +32,7 @@ pep8ignore =
|
||||
*.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 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
|
||||
migrations/*.py ALL # autogenerated by Django
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user