From: Petr Špaček Date: Thu, 7 Jan 2021 13:44:13 +0000 (+0100) Subject: Run Python linters in CI even outside of merge requests X-Git-Tag: v9.17.11~56^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d7cddc4c92c70e542da2321231bcb2164d91e0;p=thirdparty%2Fbind9.git Run Python linters in CI even outside of merge requests Previously it did not get run on scheduled CI pipelines. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9e02bd32199..6b469844ccc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -498,8 +498,6 @@ flake8: script: - *configure - flake8 --max-line-length=80 $(git ls-files '*.py' | grep -vE '(ans\.py|dangerfile\.py)') - only: - - merge_requests pylint: <<: *default_triggering_rules @@ -512,8 +510,6 @@ pylint: - *configure - PYTHONPATH="$PYTHONPATH:$CI_PROJECT_DIR/bin/python" - pylint --rcfile $CI_PROJECT_DIR/.pylintrc $(git ls-files '*.py' | grep -vE '(ans\.py|dangerfile\.py)') - only: - - merge_requests tarball-create: stage: precheck