dom/encoding: Make it flake8 compliant
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(firefox86 fixed)
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: nimroot, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [lang=python])
Attachments
(2 files)
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#11
To run the linter:
$ ./mach lint -l flake8 dom/encoding
To run the autofix:
$ ./mach lint -l flake8 --fix dom/encoding/
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.
Comment 1•5 years ago
|
||
Depends on D67548
Updated•5 years ago
|
Reporter | ||
Updated•4 years ago
|
I would like to take over if this bug is available to take.
Comment 3•4 years ago
|
||
Hi :nimroot , apparently it is available , feel free to raise the patch :) thank you, let us know if you get stuck
Hi :championshuttler , thank you for rapid reply. I have taken a quick peek into the code, but it seems like dom/encoding directory no longer contains any python files. Does it mean that in scope of this bug we should simply remove the "dom/encoding" exclude from .flake8 file or should the scope of this bug be extended to cover e.g. the whole dom/ directory as flake8-compliant?
Comment 5•4 years ago
|
||
:nimroot , ahh interesting, no this bug just cover dom/encoding I guess, you can raise the patch and add sylvestre as reviewer :)
Updated•4 years ago
|
Comment 8•4 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•