diff options
author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2025-02-24 06:16:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-24 06:16:20 +0100 |
commit | cd8761796fc90d5adbba68d055814516d80b21d3 (patch) | |
tree | aea7a7083fb90da488301b828325fd74671b8052 | |
parent | 6f38d3c817391e26e30088f886d4513c8fb75503 (diff) |
fix(CI/Codestyle): skip SQL keyword 'NOT' (#21591)
-rw-r--r-- | apps/codestyle/codestyle-sql.py | 2 |
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 |