Просмотр исходного кода

utils/check-package: don't ignore check-package

Commit 32934b526b64 (utils/checkpackagelib: check for Upstream trailers)
introduced a new python module to check Upstream tags in patch files. In
doing so, it introduced a flake8 coding style issue. That was not caught
when applying the change, and neither was it caught by our daily checks,
because the .checkpackagefile was regenerated right just in the next
commit, to apply ignore patterns to existing patch files.

It is a bit sad that one of our checks does not itself passes all our
checks...

Fix that trivial issue now.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Yann E. MORIN 1 год назад
Родитель
Сommit
81bb14a935
2 измененных файлов с 1 добавлено и 1 удалено
  1. 0 1
      .checkpackageignore
  2. 1 0
      utils/checkpackagelib/lib_patch.py

+ 0 - 1
.checkpackageignore

@@ -1462,4 +1462,3 @@ support/scripts/setlocalversion Shellcheck
 support/testing/tests/core/post-build.sh Shellcheck
 support/testing/tests/package/test_opkg/post-build.sh Shellcheck
 support/testing/tests/utils/test_get_developers/0001-package-binutils-change-.mk.patch NumberedSubject Upstream
-utils/checkpackagelib/lib_patch.py Flake8

+ 1 - 0
utils/checkpackagelib/lib_patch.py

@@ -62,6 +62,7 @@ class Sob(_CheckFunction):
                     "({}#_format_and_licensing_of_the_package_patches)"
                     .format(self.filename, self.url_to_manual)]
 
+
 class Upstream(_CheckFunction):
     UPSTREAM_ENTRY = re.compile(r"^Upstream: .*$")