Update to black 21.11b1
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(firefox96 fixed)
| Tracking | Status | |
|---|---|---|
| firefox96 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(5 files, 1 obsolete file)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1707591 - ride along: update of the pylint dep to match black's r?#linter-reviewers,gerard-majax
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1707591 - ride along: update of the flake8 dep to match black's r?#linter-reviewers,gerard-majax
48 bytes,
text/x-phabricator-request
|
Details | Review |
There is a new version of black ( https://github.com/psf/black/releases/tag/21.4b0 ). We should use it.
The patch will look like:
https://hg.mozilla.org/mozilla-central/rev/c905933ae261
and might require a reformat of the tree like in
https://hg.mozilla.org/mozilla-central/rev/f5216758d874
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
This changed with this:
https://github.com/psf/black/pull/1740
Depends on D130964
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•3 years ago
|
||
Backed out for causing python mozlint failures on test_yaml.py.
| Assignee | ||
Comment 6•3 years ago
|
||
See https://bugzilla.mozilla.org/show_bug.cgi?id=1707591#c5
Depends on D130964
| Assignee | ||
Comment 7•3 years ago
|
||
The error is
[task 2021-11-12T16:19:42.726Z] 0:59.36 Unable to match yaml regex against output: black 21.10b0 has requirement typed-ast>=1.4.2; python_version < "3.8", but you have typed-ast 1.4.1.
Comment 8•3 years ago
|
||
21.1b1 has been released.
https://github.com/psf/black/releases/tag/21.11b1
| Assignee | ||
Comment 9•3 years ago
|
||
Depends on D126202
Updated•3 years ago
|
| Assignee | ||
Comment 10•3 years ago
|
||
Depends on D130964
| Assignee | ||
Comment 11•3 years ago
|
||
Depends on D131717
Updated•3 years ago
|
Updated•3 years ago
|
Comment 12•3 years ago
|
||
| Assignee | ||
Comment 13•3 years ago
|
||
Seems that we will be good
https://treeherder.mozilla.org/jobs?repo=autoland&revision=3de4e3bcca1c1fc84fdc5c1076469292a03e8a3a
Comment 14•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/45dae660af98
https://hg.mozilla.org/mozilla-central/rev/3829d10ed633
https://hg.mozilla.org/mozilla-central/rev/f105477d372d
https://hg.mozilla.org/mozilla-central/rev/05fa7ff67318
https://hg.mozilla.org/mozilla-central/rev/3de4e3bcca1c
Updated•3 years ago
|
Description
•