mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(CI/Codestyle): ignore lines starting with @ (#21346)
This commit is contained in:
@@ -219,6 +219,10 @@ def backtick_check(file: io, file_path: str) -> None:
|
||||
# Ignore comments
|
||||
if line.startswith('--'):
|
||||
continue
|
||||
|
||||
# Ignore SET variables with multiple lines
|
||||
if line.startwith('@'):
|
||||
continue
|
||||
|
||||
# Sanitize single- and doublequotes to prevent false positives
|
||||
sanitized_line = quote_pattern.sub('', line)
|
||||
|
||||
Reference in New Issue
Block a user