Closed Bug 1762996 Opened 4 years ago Closed 4 years ago

Add "pyupgrade" linter

Categories

(Developer Infrastructure :: Lint and Formatting, enhancement)

enhancement

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 pyupgrade is not black-compliant, so we need to run black immediately a afterwards (and keep versions up-to-date, etc)
  • pyupgrade does not yet 😝 have a --check/--dry-run option
Assignee: nobody → mhentges
Status: NEW → ASSIGNED

Duping since the other bug has patches already :)

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.