Closed
Bug 1762996
Opened 4 years ago
Closed 4 years ago
Add "pyupgrade" linter
Categories
(Developer Infrastructure :: Lint and Formatting, enhancement)
Developer Infrastructure
Lint and Formatting
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1715287
People
(Reporter: mhentges, Assigned: mhentges)
Details
Pyupgrade is pretty nifty - let's add it to our linter list and leverage it in CI.
There's two pieces of trickery:
- The output of
pyupgradeis not black-compliant, so we need to runblackimmediately a afterwards (and keep versions up-to-date, etc) pyupgradedoes not yet 😝 have a--check/--dry-runoption
| Assignee | ||
Updated•4 years ago
|
Assignee: nobody → mhentges
Status: NEW → ASSIGNED
Comment 1•4 years ago
|
||
in case you don't know https://firefox-source-docs.mozilla.org/code-quality/lint/create.html
Comment 2•4 years ago
|
||
Duping since the other bug has patches already :)
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•