mirror of https://github.com/langgenius/dify.git
add rule for logging check (#24553)
This commit is contained in:
parent
244ed5e5e3
commit
5df3a4eb98
|
|
@ -43,6 +43,7 @@ select = [
|
|||
"S302", # suspicious-marshal-usage, disallow use of `marshal` module
|
||||
"S311", # suspicious-non-cryptographic-random-usage
|
||||
"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
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue