fix(CI/Codestyle): ignore lines starting with @ (#21346)
This commit is contained in:
parent
668864556b
commit
306f41a2d8
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user