Closed
Bug 2042438
Opened 5 months ago
Closed 5 months ago
Fix ruff warnings in python/lldbutils/lldbutils/gfx.py
Categories
(Developer Infrastructure :: Lint and Formatting, defect)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox153 fixed)
RESOLVED
FIXED
153 Branch
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: pedram.yekta12)
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/lldbutils/lldbutils/gfx.py
29:16 warning Use format specifiers instead of percent format UP031 (ruff)
35:13 warning Use format specifiers instead of percent format UP031 (ruff)
46:12 warning Use format specifiers instead of percent format UP031 (ruff)
Link to the code:
https://searchfox.org/mozilla-central/source/python/lldbutils/lldbutils/gfx.py#29
To run the linter:
./mach lint -W -l ruff python/lldbutils/lldbutils/gfx.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.
| Assignee | ||
Comment 1•5 months ago
|
||
Updated•5 months ago
|
Assignee: nobody → pedram.yekta12
Status: NEW → ASSIGNED
Pushed by sledru@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/30c349fb3e75
https://hg.mozilla.org/integration/autoland/rev/1458d6f83f6b
Replace percent formatting with f-strings in lldb gfx utils. r=sylvestre DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
status-firefox153:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•