Closed
Bug 2031349
Opened 7 months ago
Closed 6 months ago
Fix a ruff warning in js/src/gdb/mozilla/JSString.py
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox152 fixed)
RESOLVED
FIXED
152 Branch
| 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.
js/src/gdb/mozilla/JSString.py
56:24 warning Use format specifiers instead of percent format UP031 (ruff)
Link to the code:
https://searchfox.org/mozilla-central/source/js/src/gdb/mozilla/JSString.py#56
To run the linter:
./mach lint -W -l ruff js/src/gdb/mozilla/JSString.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
|
Mentor: sledru
Updated•6 months ago
|
Assignee: nobody → ffhpno1
Status: NEW → ASSIGNED
Pushed by sfink@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/2ab6abc99a79
https://hg.mozilla.org/integration/autoland/rev/d9ebe1c0a0a1
Replace percent formatting with format specifiers in JSString.py. r=sfink
Comment 3•6 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
status-firefox152:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•