Skip to content

docs(tests,pcapkit): paraphrase the remaining quoted rulings instead of quoting them (#719) #987

Description

@JarryShaw

The ruling on #982 is to paraphrase a ruling rather than quote it, and to avoid verbatim quotes because
one may record something said outside GitHub and so be unverifiable. #949 already applied that to
docs/source/contributing/; #982 applied it to the sites it happened to touch. This issue is the rest.

Scope, measured. A cross-review matched every quoted span in all 742 .py files against the whole repo
comment corpus — 2047 issue comments, 334 inline review comments, 981 issue and pull-request bodies — and
found 95 sites whose surrounding prose attributes a quotation to the owner, a maintainer, or "a ruling".
tests/ carries 97 verbatim lines across 52 files; pcapkit/ carries 48 across 30.

Three defect classes were found inside that set, which is why converting the rest is worth doing rather
than cosmetic:

The marker does not bound the problem, which is the trap to design around: 16 sites attribute a quotation
to a #NNN with no verbatim anywhere near it, and a further five quote "the ruling" with no number at
all
, so there is nothing to grep against. A sweep keyed on verbatim misses both families. Search the
italic-quote pattern as well.

Known remainders, so the next pass starts from a list rather than a search: the eight pcapkit/ typo
sites; three further "I prefer (2) directly" quotations in
tests/corekit/test_enum_lookup_reparent_930_unit.py (left in #982 as out of scope); and
pcapkit/corekit/sentinels.py:490, where "per GitHub issue #937" reads as authority rather than
provenance.

The convention to apply, settled across #719 and #982: a sentence attributing a ruling names the issue
where the ruling was given and may use "per"; a sentence describing what changed uses an action verb —
"landed in", "renamed in", "filed as" — and names the issue the change belongs to, never the pull-request
number.

Not urgent, and deliberately not folded into #982, which has already taken six review rounds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsPull requests that change documentation only (docs: subject prefix)testPull requests that add or correct tests (test: subject prefix)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions