Skip to content

Commit 6ac4fde

Browse files
Drop an internal-tracking reference from a connection comment
An isolation_level setter comment referenced an internal development episode ("the same widening round"); reword it to keep the technical point (it mirrors the autocommit setter's value-storage discipline) without the internal reference. Extend the source-scan guard test to also catch development-episode "round" phrasing, which the prior digit-anchored pattern missed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ee45409 commit 6ac4fde

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/dqlitedbapi/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3408,7 +3408,7 @@ def isolation_level(self, value: object) -> None:
34083408
# so the getter round-trips — without storage, the canonical
34093409
# cross-driver idiom assigns the value silently and the next
34103410
# read returns the default. Mirrors the ``autocommit.setter``
3411-
# storage discipline established in the same widening round.
3411+
# storage discipline.
34123412
#
34133413
# **Inner-AsyncConnection slot is INDEPENDENT.** The setter
34143414
# stores on the sync wrapper only; ``self._async_conn

tests/test_no_workflow_references_in_source.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
re.compile(r"ISSUE-\d+"),
2424
re.compile(r"\b[Cc]ycle \d+"),
2525
re.compile(r"\bround \d+"),
26+
# "round" used in the development-episode sense (a "widening round",
27+
# the "prior round"). Anchored to dev-process qualifiers so the
28+
# legitimate algorithmic/technical uses ("import cycle", "settle
29+
# round", "round-trip", "a round of retries") are NOT flagged.
30+
re.compile(r"\b(?:prior|previous|earlier|widening|hardening|audit) round\b"),
2631
re.compile(r"\b[Bb]undle [A-Z]\b"),
2732
re.compile(r"\bPhase \d+\b"),
2833
)

0 commit comments

Comments
 (0)