Make black formatting use the same line length as Flake8
Categories
(Thunderbird :: Build Config, task)
Tracking
(thunderbird_esr102 unaffected)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | unaffected |
People
(Reporter: rjl, Assigned: rjl)
References
Details
Attachments
(2 files)
When black formatting was introduced, there was no way to configure it's desired line length, so it's always been the default, 88 characters.
The Flake8 linter is configured for 99 characters, and I prefer the longer lines, so lets make them agree.
Assignee | ||
Comment 1•3 years ago
|
||
This aligns black with flake8. A mass-reformat will be needed in a follow-up.
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D164733
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Landing note
This bug does some automatic code reformattiing and is stacked with bug 1799140 (another reformatting bug) in Phabricator. The changes need to land in a the specified order or they may not work out right.
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/f04eebf5e530
Run black linter with line length 99. r=aleca
https://hg.mozilla.org/comm-central/rev/f17741251b26
Reformat Python files to standard line length of 99 via black. r=aleca
Updated•2 years ago
|
Description
•