You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: rewrite branch comments for the reader, not the author
Sweep of every comment this branch adds, against the fourth-wall skill:
- A test docstring stated the scan type "(since 2.8.0)", which was already
wrong after the renumber to 2.9.0 and would rot again on the next one. Version
stamps in comments describe a debut rather than the behavior.
- Two docstrings narrated the failure the old parser produced instead of the
invariant that makes rsplit correct. A scoped name carrying its own "@" is the
whole reason; the traceback it used to raise is not.
- The "do NOT use on_duplicate=redirect" landmine was explained twice, in full,
at both call sites. Kept at the 409 fallback, where the temptation to add it
lives; the create site now just says what update does.
- A test section header justified its own design to a reviewer ("swapping the
call back ... fails them"). Restated as what the test actually pins.
- "out of this branch" in the remote-URL regex reads as a git branch in this
repo; it means the regex case.
642 passed, ruff clean.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments