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
{{ message }}
Repository navigation
Resolve the Remaining Sentence-Length Layout Misreads #2865
Leftovers from the sentence-length layout fixes in #2863, each accepted rather than fixed there. Examples are constructed.
A multi-word bare NumPy type before a blank line is not a head. Under Returns / -------, the line numpy array at the entry indent, then a blank line, then an indented description, joins the previous entry's unpunctuated description into one sentence.
A docstring whose only body is an indented code block, with the closing quotes left of the quote column, reads that code as prose. Example: def f():, then """Summary., a blank line, a 30-word indented line, then """ at column 0.
A *-only line inside a /* */ block is not a gap. /* Usage:, then *, then * <30-word run> is still flagged, where the # and // layouts are not.
One dedented later line (for example a URL at column 0) moves a docstring margin to column 0, so prose at the quote column after a blank line reads as code and is missed.
A summary line ending in a colon in a deep-body docstring ("""Do the thing as follows: then a blank line and a body at quote+4) makes the next paragraph code.
A NumPy prose line at the entry indent whose next line is indented deeper (for example a wrapped sentence ending in as below: over indented code) is read as a head and drops out of its sentence.
Activity
Read the Six Remaining Layouts the Sentence-Length Check Misread (#2872)
Promote Three Develop Fixes for Audit Comments, Sentence-Length Layou…