[CI/Build] Remove imports of built-in re (#18750)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2025-05-27 09:19:18 +00:00
committed by GitHub
parent a68e293cb9
commit 4318c0559d
8 changed files with 10 additions and 9 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
# SPDX-License-Identifier: Apache-2.0
import re
import subprocess
import sys
import regex as re
FORBIDDEN_IMPORT_RE = re.compile(r"^(from|import)\s+triton(\s|\.|$)")
# the way allowed to import triton