Ruff: Fixed SIM115

This commit is contained in:
2026-09-17 14:10:25 -07:00
parent 94aec13d00
commit 5d481e2960
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ fixable = ['ALL']
ignore = [
'FA100', #Add `from __future__ import annotations` to simplify `typing.Optional`
'UP022', # Prefer `capture_output` over sending `stdout` and `stderr` to `PIPE`
'SIM115', # Use a context manager for opening files
# 'SIM115', # Use a context manager for opening files
'UP031', #Use format specifiers instead of percent format
# 'C408', # Unnecessary `dict()` call (rewrite as a literal)
# 'C417' # Unnecessary `map()` usage (rewrite using a generator expression)