— 01🪜Alignment
Equals signs, colons, the import keyword, and match arrows line up across consecutive lines. The eye drops down the column.
— 02Ordering
Sibling entries sort into a predictable order. Imports, dictionary keys, and set members read top-to-bottom by name, so a reader looking for an entry already knows where it sits.
— 03🪶Formatting
Dictionaries, lists, and sets expand to one entry per line. Multi-line collections drop their trailing comma, blank lines snap to canonical counts, and singletons collapse to their natural form.
— 04📰Docs
Docstrings join the same legibility discipline as code. Wrap to the project line length, keep single-line shapes single-line, multi-line shapes multi-line, and quote style consistent throughout.
— 05🧶Lint
Legacy union syntax, reassigned constants, step-narration comments, bare-import patterns, and single-use bindings surface as diagnostics. The formatter never rewrites these, because the fix belongs to the reader.
— 01🪜Alignment
Equals signs, colons, the import keyword, and match arrows line up across consecutive lines. The eye drops down the column.
— 02Ordering
Sibling entries sort into a predictable order. Imports, dictionary keys, and set members read top-to-bottom by name, so a reader looking for an entry already knows where it sits.
— 03🪶Formatting
Dictionaries, lists, and sets expand to one entry per line. Multi-line collections drop their trailing comma, blank lines snap to canonical counts, and singletons collapse to their natural form.
— 04📰Docs
Docstrings join the same legibility discipline as code. Wrap to the project line length, keep single-line shapes single-line, multi-line shapes multi-line, and quote style consistent throughout.
— 05🧶Lint
Legacy union syntax, reassigned constants, step-narration comments, bare-import patterns, and single-use bindings surface as diagnostics. The formatter never rewrites these, because the fix belongs to the reader.