chore(lint): Use logging.exception instead of logging.error (#10415)

This commit is contained in:
Bowen Liang 2024-11-07 21:13:02 +08:00 committed by GitHub
commit 574c4a264f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 31 additions and 30 deletions

View file

@ -34,6 +34,7 @@ select = [
"RUF101", # redirected-noqa
"S506", # unsafe-yaml-load
"SIM", # flake8-simplify rules
"TRY400", # error-instead-of-exception
"UP", # pyupgrade rules
"W191", # tab-indentation
"W605", # invalid-escape-sequence