From: Yann E. MORIN Date: Sat, 4 Jan 2020 08:29:36 +0000 (+0100) Subject: support/testing: really fix python-gitdb2 test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed56b7b5479176307a8f30cd3927d066b4e340d9;p=buildroot.git support/testing: really fix python-gitdb2 test The test-case for python-gitdb2 consists solely in verifying that the module can indeed be imported. However, flake8 errors out on unused imports. Furthermore, it also errors about wildcard imports, as it can detect unused symbols. Commit d8c86be9cd7 (support/testing: fix python-gitdb2 test) tried to address this issue, by explicitly squelching the two errors, F401 and F403. While that works on recent distros, the image used by our docker pipeline is laggign behind and the flake8 there only handles at most a single error in the noqa list. Do as is done with the other python samples, and just blindly ignore all errors. Signed-off-by: Yann E. MORIN --- diff --git a/support/testing/tests/package/sample_python_gitdb2.py b/support/testing/tests/package/sample_python_gitdb2.py index 493dcaaee2..4a82fdf587 100644 --- a/support/testing/tests/package/sample_python_gitdb2.py +++ b/support/testing/tests/package/sample_python_gitdb2.py @@ -1 +1 @@ -from gitdb import * # NOQA: F401 F403 +from gitdb import * # noqa