1. 11 11月, 2019 3 次提交
    • P
      tests: make domaincapstest less anoying to debug · 63d60408
      Peter Krempa 提交于
      Since 6a077cf2 domaincapstest does not run through all cases on
      failure but terminates right away. This makes it super annoying to debug
      or use in combination with VIR_TEST_REGENERATE_OUTPUT.
      
      Fix it by remembering failure and still running through all cases.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NDaniel Henrique Barboza <danielhb413@gmail.com>
      63d60408
    • D
      python: sanitize spaces either side of operators · 43d29cb4
      Daniel P. Berrangé 提交于
      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: NDaniel P. Berrangé <berrange@redhat.com>
      43d29cb4
    • D
      python: sanitize blank line usage · bc59247d
      Daniel P. Berrangé 提交于
      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: NDaniel P. Berrangé <berrange@redhat.com>
      bc59247d
  2. 09 11月, 2019 2 次提交
  3. 07 11月, 2019 9 次提交
  4. 25 10月, 2019 12 次提交
  5. 24 10月, 2019 13 次提交
  6. 23 10月, 2019 1 次提交