]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove flake8 linter for Python from CI
authorTom Krizek <tkrizek@isc.org>
Tue, 7 Jun 2022 14:29:52 +0000 (16:29 +0200)
committerTom Krizek <tkrizek@isc.org>
Wed, 8 Jun 2022 11:44:23 +0000 (13:44 +0200)
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.

(cherry picked from commit dae340a4a518f17460e24731347a43f7179447da)

.gitlab-ci.yml

index ecb851c8df5973660b97370f852264df8cf75d4d..89045d45aff7235bcd7be382d5e592be039b4fd8 100644 (file)
@@ -481,19 +481,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