Fix a ruff warning in dom/base/usecounters.py
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Tracking
(Not tracked)
People
(Reporter: Sylvestre, Unassigned, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=python])
Attachments
(1 obsolete file)
Filing as a good first bug to learn workflows.
dom/base/usecounters.py
42:17 warning Use format specifiers instead of percent format UP031 (ruff)
Link to the code:
https://searchfox.org/mozilla-central/source/dom/base/usecounters.py#42
To run the linter:
./mach lint -W -l ruff dom/base/usecounters.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
|
Comment 1•6 months ago
|
||
Updated•6 months ago
|
Comment 2•3 months ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.
Updated•3 months ago
|
Comment 3•3 months ago
|
||
:Sylvestre this warning has already been resolved.
./mach lint -W -l ruff dom/base/usecounters.py
✖ 0 problems (0 errors, 0 warnings, 0 fixed)
| Reporter | ||
Comment 4•3 months ago
|
||
Description
•