From ec766fc712aaa705608012d4f26077f93cfbb455 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 5 Sep 2020 22:03:37 +0200 Subject: [PATCH] .gitlab-ci.yml: use python3 for flake8 run Signed-off-by: Peter Korsgaard --- .gitlab-ci.yml | 2 +- .gitlab-ci.yml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60f54642fa..89604e6c47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,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 diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in index 2d26f38011..b1d0dec203 100644 --- a/.gitlab-ci.yml.in +++ b/.gitlab-ci.yml.in @@ -28,7 +28,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