File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
autoupdate_schedule : quarterly
3
3
repos :
4
4
- repo : https://github.com/astral-sh/ruff-pre-commit
5
- rev : v0.6.9
5
+ rev : v0.7.0
6
6
hooks :
7
7
- id : ruff
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ class SQLiteBackend(AbstractBackend):
297
297
# Note: We never commit changes. SQLite manages the memory usage of uncommitted changes.
298
298
# https://sqlite.org/atomiccommit.html#_cache_spill_prior_to_commit
299
299
def __init__ (self ):
300
- self .file = NamedTemporaryFile (delete = False )
300
+ self .file = NamedTemporaryFile (delete = False ) # noqa: SIM115
301
301
302
302
# https://docs.python.org/3/library/sqlite3.html#sqlite3.PARSE_DECLTYPES
303
303
self .connection = sqlite3 .connect (self .file .name , detect_types = sqlite3 .PARSE_DECLTYPES )
You can’t perform that action at this time.
0 commit comments