Closed Bug 1622683 Opened 9 months ago Closed 3 months ago

dom/websocket: Make it flake8 compliant

Categories

(Firefox Build System :: Lint and Formatting, task)

task
Not set
normal

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: Sylvestre, Assigned: pfischbeck, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [lang=python])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1622682 +++

Filling as a good first bug to learn workflows.

As the change is easy, it is mostly to learn how to contribute to Firefox.

To work on this, remove this line:
https://searchfox.org/mozilla-central/source/.flake8#13

To run the linter:
$ ./mach lint -l flake8 dom/websocket

To run the autofix:
$ ./mach lint -l flake8 --fix dom/websocket/

Then, the remaining thing should be fixed by hand.

Tutorial to contribute:
https://firefox-source-docs.mozilla.org/tools/docs/contribute/how_to_contribute_firefox.html

Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.

Assignee: nobody → pfischbeck
Status: NEW → ASSIGNED
Attachment #9173039 - Attachment description: Bug 1622683 - Make dom/websocket flake8 compliant. r?sylvestre → Bug 1622683 - Make dom/websocket flake8 and pylint compliant. r?sylvestre
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dfd3eb3545d5
Make dom/websocket flake8 and pylint compliant. r=sylvestre
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.