]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add ruff job to CI
authorŠtěpán Balážik <stepan@isc.org>
Tue, 10 Feb 2026 19:48:54 +0000 (20:48 +0100)
committerŠtěpán Balážik <stepan@isc.org>
Wed, 25 Feb 2026 12:33:53 +0000 (13:33 +0100)
Run the linter on Python code changes in CI.

(cherry picked from commit 8b0a8dbd8e16652acfc1f72b05f3ada744aa47de)

.gitlab-ci.yml

index 95b87b0233a345b137b8c7004dfbe9aa094f3c5c..9506d636d95fbd07fa06becf55950a31edeac485 100644 (file)
@@ -802,6 +802,12 @@ pylint:
   script:
     - pylint $(git ls-files '*.py')
 
+ruff:
+  <<: *quick_checks_job
+  <<: *python_triggering_rules
+  script:
+    - ruff check
+
 reuse:
   <<: *quick_checks_job
   image: