From: Tom Krizek Date: Tue, 7 Jun 2022 14:29:52 +0000 (+0200) Subject: Remove flake8 linter for Python from CI X-Git-Tag: v9.19.3~61^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dae340a4a518f17460e24731347a43f7179447da;p=thirdparty%2Fbind9.git Remove flake8 linter for Python from CI Python codestyle is now handled by black and other issues are checked by pylint. Flake8 checking has been made redundant and is thus removed as obsolete. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8c54d47e17..2ebf280988e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -480,19 +480,6 @@ danger: variables: - $DANGER_GITLAB_API_TOKEN -flake8: - <<: *default_triggering_rules - <<: *base_image - stage: postcheck - needs: - - job: autoreconf - artifacts: true - script: - - *configure - - flake8 --max-line-length=80 $(git ls-files '*.py' | grep -vE '(ans\.py|dangerfile\.py|^bin/tests/system/)') - # Ignore Flake8 E402 error (module level import not at top of file) in system test to enable use of pytest.importorskip - - flake8 --max-line-length=80 --extend-ignore=E402 $(git ls-files 'bin/tests/system/*.py' | grep -vE 'ans\.py') - pylint: <<: *default_triggering_rules <<: *base_image