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:
Yen Chi Hsuan 2016-11-17 19:42:56 +08:00
parent 073d5bf583
commit 582be35847
No known key found for this signature in database
GPG key ID: 7F902A182457CA23
27 changed files with 33 additions and 0 deletions

View file

@ -115,6 +115,8 @@ def _u30(reader):
res = _read_int(reader)
assert res & 0xf0000000 == 0
return res
_u32 = _read_int
@ -176,6 +178,7 @@ class _Undefined(object):
return 'undefined'
__repr__ = __str__
undefined = _Undefined()