]> 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 08:46:38 +0000 (10:46 +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.

.gitlab-ci.yml

index a8c54d47e176e28095073d2cbff349f5a1b978c1..2ebf280988e3a961b48882c25c1be6f1adbba084 100644 (file)
@@ -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