Run 'pyupgrade --py36-plus' on taskgraph
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox93 fixed)
| Tracking | Status | |
|---|---|---|
| firefox93 | --- | fixed |
People
(Reporter: ahal, Assigned: ahal)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
We dropped support for Python 2 in gecko taskgraph awhile back. But we've still tried to keep it Python 2 compatible because the standalone taskgraph still needed to support Python 2, and doing so made syncing changes between the two much easier.
With bug 1720715, we will be dropping Py2 support in standalone taskgraph. This means we can run pyupgrade on both codebases while still keeping them in sync.
| Assignee | ||
Comment 1•4 years ago
|
||
This patch was generated via:
$ pyupgrade --py36-plus $(find taskcluster/taskgraph -name ".py" -type f)
$ autoflake --remove-all-unused-imports -i $(find taskcluster/taskgraph -name ".py" -type f)
The same set of commands are being applied to standalone taskgraph as well so
they remain in sync.
| Assignee | ||
Comment 2•4 years ago
|
||
Depends on D123234
| Assignee | ||
Comment 3•4 years ago
|
||
Sister changes in standalone taskgraph are here:
https://phabricator.services.mozilla.com/D123130
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4bfa37a87fcd
https://hg.mozilla.org/mozilla-central/rev/28c96c2f6c14
Description
•