fix(CI/Codestyle): ignore lines starting with @ (#21346)
This commit is contained in:
parent
668864556b
commit
306f41a2d8
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue