Skip to content

Commit 46f5756

Browse files
committed
chore: Add noqa comment
1 parent e699d8b commit 46f5756

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ ci:
22
autoupdate_schedule: quarterly
33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
5-
rev: v0.6.9
5+
rev: v0.7.0
66
hooks:
77
- id: ruff

ocdskit/packager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class SQLiteBackend(AbstractBackend):
297297
# Note: We never commit changes. SQLite manages the memory usage of uncommitted changes.
298298
# https://sqlite.org/atomiccommit.html#_cache_spill_prior_to_commit
299299
def __init__(self):
300-
self.file = NamedTemporaryFile(delete=False)
300+
self.file = NamedTemporaryFile(delete=False) # noqa: SIM115
301301

302302
# https://docs.python.org/3/library/sqlite3.html#sqlite3.PARSE_DECLTYPES
303303
self.connection = sqlite3.connect(self.file.name, detect_types=sqlite3.PARSE_DECLTYPES)

0 commit comments

Comments
 (0)