add rule for logging check (#24553)
This commit is contained in:
@@ -43,6 +43,7 @@ select = [
|
|||||||
"S302", # suspicious-marshal-usage, disallow use of `marshal` module
|
"S302", # suspicious-marshal-usage, disallow use of `marshal` module
|
||||||
"S311", # suspicious-non-cryptographic-random-usage
|
"S311", # suspicious-non-cryptographic-random-usage
|
||||||
"G001", # don't use str format to logging messages
|
"G001", # don't use str format to logging messages
|
||||||
|
"G003", # don't use + in logging messages
|
||||||
"G004", # don't use f-strings to format logging messages
|
"G004", # don't use f-strings to format logging messages
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user