소스 검색

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 <yann.morin.1998@free.fr>
Yann E. MORIN 5 년 전
부모
커밋
ed56b7b547
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      support/testing/tests/package/sample_python_gitdb2.py

+ 1 - 1
support/testing/tests/package/sample_python_gitdb2.py

@@ -1 +1 @@
-from gitdb import *  # NOQA: F401 F403
+from gitdb import *  # noqa