diff options
Diffstat (limited to 'apps/codestyle')
-rw-r--r-- | apps/codestyle/codestyle-sql.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codestyle/codestyle-sql.py b/apps/codestyle/codestyle-sql.py index 703607c128..912e6508be 100644 --- a/apps/codestyle/codestyle-sql.py +++ b/apps/codestyle/codestyle-sql.py @@ -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) |