From 9052425a1df6f6bb0741de42008bb41262c52d3a Mon Sep 17 00:00:00 2001 From: wuchunfu <319355703@qq.com> Date: Sat, 15 Feb 2025 20:18:12 +0800 Subject: [PATCH] BIGTOP-4361: Add Chinese check --- .github/check_chinese_character.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/check_chinese_character.py b/.github/check_chinese_character.py index 85f6a55a..273a2f7c 100644 --- a/.github/check_chinese_character.py +++ b/.github/check_chinese_character.py @@ -32,7 +32,16 @@ class ChineseCharacterCheckTest: "dist", } # Supported file extensions - SUPPORTED_EXTENSIONS = {".java", ".kt", ".scala", ".js", ".jsx", ".ts", ".tsx", ".vue"} + SUPPORTED_EXTENSIONS = { + ".java", + ".kt", + ".scala", + ".js", + ".jsx", + ".ts", + ".tsx", + ".vue" + } def should_not_contain_chinese_in_comments(self): violations = self.scan_for_chinese_characters(ScanTarget.COMMENTS)