pep8: fix E305 (2 blank lines after functions)
pep8 2.2.0 fixes E305 check, which currently causes our check_format.sh to fail. Checking Python style... Python formatting errors detected test/lvol/lvol_test.py:12:1: E305 expected 2 blank lines after class or function definition, found 1 test/vhost/common/run_fio.py:160:1: E305 expected 2 blank lines after class or function definition, found 1 E305 differs from E302 as follows: * E302 expected 2 blank lines, found 0 * E305 expected 2 blank lines after end of function or class Change-Id: I2f6c3e1fa9fcb1b2c6d26690c1c65f39d7447875 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/405208 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
46bce34c24
commit
4f5bf64af1
@ -9,6 +9,7 @@ def check_fail_count(fail_count, num_test):
|
||||
else:
|
||||
print("Test: {num_test} - FAIL".format(num_test=num_test))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
rpc_py = None
|
||||
total_size = None
|
||||
|
@ -157,5 +157,6 @@ def main():
|
||||
print("Running job file: {0}".format(fio_cfg))
|
||||
run_fio(vms, fio_cfg, out_dir, perf_vmex)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
Loading…
Reference in New Issue
Block a user