Re-enable E305 pep8 errors
E305 expected 2 blank lines after class or function definition Change-Id: I122ed1bc7e720ec00127cb971b4b353bee2704fd
This commit is contained in:
parent
e095846934
commit
699a6b22dd
|
@ -30,5 +30,6 @@ def main():
|
||||||
ciphertext = encryption.encrypt_pkcs1_oaep(sys.argv[1], public_key)
|
ciphertext = encryption.encrypt_pkcs1_oaep(sys.argv[1], public_key)
|
||||||
print(ciphertext.encode('base64'))
|
print(ciphertext.encode('base64'))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -73,5 +73,6 @@ def main():
|
||||||
while not job.complete:
|
while not job.complete:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -96,5 +96,6 @@ def main():
|
||||||
if ok_lanes and not task_found:
|
if ok_lanes and not task_found:
|
||||||
add_task(sync, task, lanes[ok_lanes[0]])
|
add_task(sync, task, lanes[ok_lanes[0]])
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -51,6 +51,6 @@ commands = python setup.py test --slowest --testr-args='--concurrency=1 {posargs
|
||||||
[flake8]
|
[flake8]
|
||||||
# These are ignored intentionally in openstack-infra projects;
|
# These are ignored intentionally in openstack-infra projects;
|
||||||
# please don't submit patches that solely correct them or enable them.
|
# please don't submit patches that solely correct them or enable them.
|
||||||
ignore = E305,E125,E129,E402,H,W503
|
ignore = E125,E129,E402,H,W503
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude = .venv,.tox,dist,doc,build,*.egg
|
exclude = .venv,.tox,dist,doc,build,*.egg
|
||||||
|
|
|
@ -64,6 +64,7 @@ def run_migrations_online():
|
||||||
with context.begin_transaction():
|
with context.begin_transaction():
|
||||||
context.run_migrations()
|
context.run_migrations()
|
||||||
|
|
||||||
|
|
||||||
if context.is_offline_mode():
|
if context.is_offline_mode():
|
||||||
run_migrations_offline()
|
run_migrations_offline()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue