]> git.ipfire.org Git - thirdparty/libvirt.git/commit
python: sanitize blank line usage
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 24 Sep 2019 12:55:56 +0000 (13:55 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 11 Nov 2019 14:24:19 +0000 (14:24 +0000)
commitbc59247df9562e1bd51c3776c2487b4f122769e6
treee14b0057c9517c946ad49cc0620612b6593e1f76
parent2ba699cbd59facdb37dcc74a2dd226684aae4d40
python: sanitize blank line usage

Coding style expects 1 blank line between each method and 2 blank lines
before each class.

docs/apibuild.py:171:5: E303 too many blank lines (2)
    def set_header(self, header):
    ^
docs/apibuild.py:230:1: E302 expected 2 blank lines, found 1
class index:
^
docs/apibuild.py:175:5: E301 expected 1 blank line, found 0
    def set_module(self, module):
    ^
...more...

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
build-aux/syntax-check.mk
docs/apibuild.py
docs/reformat-news.py
src/esx/esx_vi_generator.py
src/hyperv/hyperv_wmi_generator.py
tests/cputestdata/cpu-cpuid.py