add TRY401

This commit is contained in:
Bowen Liang 2024-11-07 21:45:28 +08:00
parent 4b2abf8ac2
commit 5ee528113e

View File

@ -35,6 +35,7 @@ select = [
"S506", # unsafe-yaml-load
"SIM", # flake8-simplify rules
"TRY400", # error-instead-of-exception
"TRY401", # verbose-log-message
"UP", # pyupgrade rules
"W191", # tab-indentation
"W605", # invalid-escape-sequence