From b7041cfc78ea282b6ef2948bbe6c1c34ea8a93e5 Mon Sep 17 00:00:00 2001 From: "stirlingbot[bot]" <195170888+stirlingbot[bot]@users.noreply.github.com> Date: Wed, 14 Jan 2026 01:09:41 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20format=20everything=20with=20pre?= =?UTF-8?q?-commit=20by=20stirlingbot=20(#5462)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Auto-generated by [create-pull-request][1] with **stirlingbot** [1]: https://github.com/peter-evans/create-pull-request Signed-off-by: stirlingbot[bot] Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com> --- .github/scripts/check_language_toml.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/scripts/check_language_toml.py b/.github/scripts/check_language_toml.py index 8088cb4ca..5a4f72fdd 100644 --- a/.github/scripts/check_language_toml.py +++ b/.github/scripts/check_language_toml.py @@ -198,7 +198,9 @@ def check_for_differences(reference_file, file_list, branch, actor): # Verify that file is within the expected directory if not absolute_path.is_relative_to(base_dir): has_differences = True - report.append(f"\n⚠️ Unsafe file found: `{locale_dir}/{basename_current_file}`\n\n---\n") + report.append( + f"\n⚠️ Unsafe file found: `{locale_dir}/{basename_current_file}`\n\n---\n" + ) continue # Verify file size before processing @@ -212,7 +214,10 @@ def check_for_differences(reference_file, file_list, branch, actor): if basename_current_file == basename_reference_file and locale_dir == "en-GB": continue - if file_normpath.suffix != ".toml" or basename_current_file != "translation.toml": + if ( + file_normpath.suffix != ".toml" + or basename_current_file != "translation.toml" + ): continue only_reference_file = False