summaryrefslogtreecommitdiff
path: root/apps/codestyle
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2025-02-24 06:16:20 +0100
committerGitHub <noreply@github.com>2025-02-24 06:16:20 +0100
commitcd8761796fc90d5adbba68d055814516d80b21d3 (patch)
treeaea7a7083fb90da488301b828325fd74671b8052 /apps/codestyle
parent6f38d3c817391e26e30088f886d4513c8fb75503 (diff)
fix(CI/Codestyle): skip SQL keyword 'NOT' (#21591)
Diffstat (limited to 'apps/codestyle')
-rw-r--r--apps/codestyle/codestyle-sql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codestyle/codestyle-sql.py b/apps/codestyle/codestyle-sql.py
index 92666d06c4..2bc0d3a91f 100644
--- a/apps/codestyle/codestyle-sql.py
+++ b/apps/codestyle/codestyle-sql.py
@@ -234,7 +234,7 @@ def backtick_check(file: io, file_path: str) -> None:
# Skip SQL keywords
if word.upper() in {"SELECT", "FROM", "JOIN", "WHERE", "GROUP", "BY", "ORDER",
"DELETE", "UPDATE", "INSERT", "INTO", "SET", "VALUES", "AND",
- "IN", "OR", "REPLACE"}:
+ "IN", "OR", "REPLACE", "NOT"}:
continue
# Make sure the word is enclosed in backticks