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
copyedit: tighten comments and docstrings (Strunk pass)
Apply Elements-of-Style rules to the prose this PR added or modified.
Focus on the heavy-comment files: buildvars package docs, hook
declarations across compose/dgraphtest/t/testutil, hook-call comments
in dgraphtest/local_cluster.go, FIPS-aware skip helpers in
acl/jwt_algo_test.go and check_upgrade/check_upgrade_test.go and
systest/integration2/acl_test.go, plus the misc one-off comments in
dgraph/Makefile, t/Makefile, contrib/Dockerfile, dgraphtest/load.go,
and graphql/e2e/auth/auth_test.go.
Specific changes:
- Active voice over passive where natural (Rule 10).
- Positive form over negated (Rule 11): 'are unavailable' for 'isn't
available', 'lacks' for 'does not have', etc.
- Concrete over abstract (Rule 12): name the actual value or pattern
in the example rather than 'various' or 'some'.
- Drop needless words (Rule 13): cut hedging (essentially, basically,
typically), pleonasms (actually, really, very), 'in order to' -> 'to',
'owing to the fact that' -> 'because', and 'is a function which' /
'is initialized to' constructions.
- Em-dash discipline: at most one rhetorical em-dash per sentence;
replace pile-on parentheticals with semicolons or split sentences.
- Keep technical content unchanged. No code edits, only prose.
17 files; +277/-268 (net +9 from line wrapping).
0 commit comments