mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-11-10 21:04:26 +08:00
fix(CI/Codestyle): skip SQL keyword 'NOT' (#21591)
This commit is contained in:
parent
6f38d3c817
commit
cd8761796f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user