mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(CI/Codestyle): skip SQL keyword 'NOT' (#21591)
This commit is contained in:
@@ -234,7 +234,7 @@ def backtick_check(file: io, file_path: str) -> None:
|
|||||||
# Skip SQL keywords
|
# Skip SQL keywords
|
||||||
if word.upper() in {"SELECT", "FROM", "JOIN", "WHERE", "GROUP", "BY", "ORDER",
|
if word.upper() in {"SELECT", "FROM", "JOIN", "WHERE", "GROUP", "BY", "ORDER",
|
||||||
"DELETE", "UPDATE", "INSERT", "INTO", "SET", "VALUES", "AND",
|
"DELETE", "UPDATE", "INSERT", "INTO", "SET", "VALUES", "AND",
|
||||||
"IN", "OR", "REPLACE"}:
|
"IN", "OR", "REPLACE", "NOT"}:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Make sure the word is enclosed in backticks
|
# Make sure the word is enclosed in backticks
|
||||||
|
|||||||
Reference in New Issue
Block a user