From e5e41ce7f51f085ab621658b31d8af7235df3897 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 8 Jul 2025 14:54:28 +1000 Subject: [PATCH] CI: drop the separate python-format job This is handled as part of the pre-commit hooks now which will also ensure that we have the same version of ruff everywhere. Fixes: a61c8764120c ("pre-commit: drop black, use ruff-format instead") Part-of: --- .gitlab-ci.yml | 7 ------- .gitlab-ci/ci.template | 7 ------- 2 files changed, 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 007cacb8..c534144d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1075,13 +1075,6 @@ usr-bin-env-python@fedora:42: /bin/false fi -python-format@fedora:42: - extends: - - .fedora-build@template - script: - - black $(git grep -l '^#!/usr/bin/env python3') - - git diff --exit-code || (echo "Please run Black against all Python files" && false) - # A job to check we're actually running all test suites in the CI check-test-suites: extends: diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index 6b71d5c2..4311b2db 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -617,13 +617,6 @@ usr-bin-env-python@{{distro.name}}:{{version}}: /bin/false fi -python-format@{{distro.name}}:{{version}}: - extends: - - .{{distro.name}}-build@template - script: - - black $(git grep -l '^#!/usr/bin/env python3') - - git diff --exit-code || (echo "Please run Black against all Python files" && false) - # A job to check we're actually running all test suites in the CI check-test-suites: extends: