Fix a ruff warning in python/mach/mach/logging.py
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(firefox154 fixed)
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Yogeshdangal66, 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.
python/mach/mach/logging.py
90:12 warning Use format specifiers instead of percent format UP031 (ruff)
Link to the code:
https://searchfox.org/mozilla-central/source/python/mach/mach/logging.py#90
To run the linter:
./mach lint -W -l ruff python/mach/mach/logging.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
|
| Assignee | ||
Comment 1•6 months ago
|
||
Updated•6 months ago
|
Comment 2•5 months ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 1 week.
:Yogeshdangal66, 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•5 months ago
|
||
The patch needs to be rebased, Yogeshdangal66 you probably just need to run git pull -r origin main in your patch branch and fix the conflicts, then resubmit.
Updated•5 months ago
|
Comment 5•5 months ago
|
||
| bugherder | ||
Updated•5 months ago
|
Description
•