Closed Bug 1799140 Opened 3 years ago Closed 3 years ago

Fix isort warnings on Python code

Categories

(Thunderbird :: Build Config, task, P3)

Tracking

(thunderbird_esr102 unaffected)

RESOLVED FIXED
110 Branch
Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: rjl, Assigned: rjl)

References

Details

Attachments

(1 file)

Bug 1790890 adds the flake8-isort plugin, with most rules set to warn rather than fail.

This bug is to clean up those warnings and allow the rules to be hard failures.

../mach commlint -l flake8 --fix . should do most of the work.

Depends on: 1803830

isort is a separate linter now.
../mach commlint -l isort --fix .

Probably should run at the same time as the mass format in bug 1803829.

Summary: Fix flake8-isort warnings on Python code → Fix isort warnings on Python code
Assignee: nobody → rob
Status: NEW → ASSIGNED
Blocks: 1803829

Landing on comm-central

There's 2 changes in bug 1803829 that need to land with this one. They are stacked in Phabricator so they land in the right order.

Target Milestone: --- → 110 Branch
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: