mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Ignore `SIM115` in Ruff
This commit is contained in:
@@ -172,6 +172,7 @@ ignore = [
|
||||
"SIM103", # return condition directly
|
||||
"SIM105", # use contextlib.suppress
|
||||
"SIM108", # use ternary operator
|
||||
"SIM115", # use context handler for opening files
|
||||
"SIM117", # use single 'with' statement
|
||||
# pyupgrade
|
||||
"UP031", # replace with format specifiers
|
||||
|
||||
Reference in New Issue
Block a user