Update coding style after pycodestyle 2.1.0
In pycodestyle 2.1.0, E305 was introduced, which requires two blank lines after top level declarations, too. See https://github.com/PyCQA/pycodestyle/issues/400 See also #10689; thanks @stepshal for first mentioning this issue and initial patches
This commit is contained in:
parent
073d5bf583
commit
582be35847
27 changed files with 33 additions and 0 deletions
|
@ -60,6 +60,7 @@ def _file_md5(fn):
|
|||
with open(fn, 'rb') as f:
|
||||
return hashlib.md5(f.read()).hexdigest()
|
||||
|
||||
|
||||
defs = gettestcases()
|
||||
|
||||
|
||||
|
@ -217,6 +218,7 @@ def generator(test_case):
|
|||
|
||||
return test_template
|
||||
|
||||
|
||||
# And add them to TestDownload
|
||||
for n, test_case in enumerate(defs):
|
||||
test_method = generator(test_case)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue