Re-enable F405 pep8 errors

Change-Id: I731686a144394b79e1e263cd73ee12a7a2d12914
This commit is contained in:
David Shrewsbury 2017-05-19 09:35:31 -04:00
parent dbc4790ac2
commit e095846934
3 changed files with 5 additions and 1 deletions

View File

@ -51,6 +51,6 @@ commands = python setup.py test --slowest --testr-args='--concurrency=1 {posargs
[flake8]
# These are ignored intentionally in openstack-infra projects;
# please don't submit patches that solely correct them or enable them.
ignore = E305,E125,E129,E402,H,F405,W503
ignore = E305,E125,E129,E402,H,W503
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg

View File

@ -116,6 +116,7 @@ def main():
module.exit_json(changed=True, build_roots=output)
from ansible.module_utils.basic import * # noqa
from ansible.module_utils.basic import AnsibleModule
if __name__ == '__main__':
main()

View File

@ -17,8 +17,10 @@
import os
import sys
import select
import socket
import threading
import time
LOG_STREAM_FILE = '/tmp/console.log'
LOG_STREAM_PORT = 19885
@ -181,6 +183,7 @@ def main():
s.run()
from ansible.module_utils.basic import * # noqa
from ansible.module_utils.basic import AnsibleModule
if __name__ == '__main__':
main()