Ignore `SIM115` in Ruff

This commit is contained in:
Adam Turner
2023-01-23 08:04:04 +00:00
parent a6b34dd13d
commit bf88cd44d0

View File

@@ -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