Fix a ruff warning in intl/unicharutil/util/base_chars.py
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(firefox152 fixed)
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: ffhpno1, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=python])
Attachments
(1 external file)
Filing as a good first bug to learn workflows.
intl/unicharutil/util/base_chars.py
51:9 warning `for` loop variable `char` overwritten by assignment target PLW2901 (ruff)
Link to the code:
https://searchfox.org/mozilla-central/source/intl/unicharutil/util/base_chars.py#51
To run the linter:
./mach lint -W -l ruff intl/unicharutil/util/base_chars.py
As the change is trivial, it is just to learn how to contribute to Firefox.
Tutorial to contribute:
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html
Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.
| Reporter | ||
Updated•7 months ago
|
Updated•6 months ago
|
Comment 2•6 months ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:ffhpno1, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Comment 3•6 months ago
|
||
(In reply to BugBot [:suhaib / :marco/ :calixte] from comment #2)
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:ffhpno1, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
I requested landing.
Comment 5•6 months ago
|
||
| bugherder | ||
Description
•