diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fb44c68..b3c4156 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,6 @@ ci: autoupdate_schedule: quarterly repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.7.0 hooks: - id: ruff diff --git a/ocdskit/packager.py b/ocdskit/packager.py index b5cd8b0..790dad1 100644 --- a/ocdskit/packager.py +++ b/ocdskit/packager.py @@ -297,7 +297,7 @@ class SQLiteBackend(AbstractBackend): # Note: We never commit changes. SQLite manages the memory usage of uncommitted changes. # https://sqlite.org/atomiccommit.html#_cache_spill_prior_to_commit def __init__(self): - self.file = NamedTemporaryFile(delete=False) + self.file = NamedTemporaryFile(delete=False) # noqa: SIM115 # https://docs.python.org/3/library/sqlite3.html#sqlite3.PARSE_DECLTYPES self.connection = sqlite3.connect(self.file.name, detect_types=sqlite3.PARSE_DECLTYPES)