[Buildroot] [git commit] support/misc/gitlab-ci.yml.in: use python3 for flake8
Yann E. MORIN
yann.morin.1998 at free.fr
Fri Aug 14 21:13:30 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=90857e2dde7bc9581da8ffed6ae7adbb9b171952
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The pkg-stats script now uses Python3 only constructs (the "async"
keyword) and therefore fails to pass the Python2 flake8 test.
Let's use the Python3 flake8 instead.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/681711009
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Reviewed-by: Titouan Christophe <titouan.christophe at railnova.eu>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
support/misc/gitlab-ci.yml.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/misc/gitlab-ci.yml.in b/support/misc/gitlab-ci.yml.in
index 7218ea027e..75ffaab8fe 100644
--- a/support/misc/gitlab-ci.yml.in
+++ b/support/misc/gitlab-ci.yml.in
@@ -25,7 +25,7 @@ check-flake8:
- find * -type f -print0 | xargs -0 file | grep 'Python script' | cut -d':' -f1 >> files.txt
- sort -u files.txt | tee files.processed
script:
- - python -m flake8 --statistics --count --max-line-length=132 $(cat files.processed)
+ - python3 -m flake8 --statistics --count --max-line-length=132 $(cat files.processed)
after_script:
- wc -l files.processed
More information about the buildroot
mailing list