Skip to content

Commit

Permalink
chore: Add noqa comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 21, 2024
1 parent e699d8b commit 46f5756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion ocdskit/packager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 46f5756

Please sign in to comment.