1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-10 05:17:59 +03:00
libvirt/build-aux
Daniel P. Berrangé 43d29cb40b python: sanitize spaces either side of operators
There should be a single space either side of operators. Inline
comments should have two spaces before the '#'

src/hyperv/hyperv_wmi_generator.py:130:45: E261 at least two spaces before inline comment
            source += '    { "", "", 0 },\n' # null terminated
                                            ^
src/esx/esx_vi_generator.py:417:25: E221 multiple spaces before operator
    FEATURE__DESERIALIZE  = (1 << 6)
                        ^
tests/cputestdata/cpu-cpuid.py:187:78: E225 missing whitespace around operator
                f.write("  <msr index='0x%x' edx='0x%08x' eax='0x%08x'/>\n" %(
                                                                             ^
docs/apibuild.py:524:47: E226 missing whitespace around arithmetic operator
                            self.line = line[i+2:]
                                              ^
...more...

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-11-11 14:24:19 +00:00
..
check-spacing.pl Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
header-ifdef.pl syntax check: update header guard check 2019-06-20 09:01:07 +02:00
mock-noinline.pl Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
prohibit-duplicate-header.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
syntax-check.mk python: sanitize spaces either side of operators 2019-11-11 14:24:19 +00:00
useless-if-before-free build: import gnulib's syntax-check make rules 2019-10-09 13:36:29 +01:00
vc-list-files build: import gnulib's syntax-check make rules 2019-10-09 13:36:29 +01:00