Closed Bug 2031346 Opened 7 months ago Closed 4 months ago

Fix a ruff warning in js/src/jit/arm/gen-double-encoder-table.py

Categories

(Developer Infrastructure :: Lint and Formatting, task)

task

Tracking

(firefox154 fixed)

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: Sylvestre, Assigned: brieuc.gommard, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [lang=python])

Attachments

(1 external file, 1 obsolete file)

Filing as a good first bug to learn workflows.

js/src/jit/arm/gen-double-encoder-table.py
  35:11  warning  Use format specifiers instead of percent format  UP031 (ruff)

Link to the code:
https://searchfox.org/mozilla-central/source/js/src/jit/arm/gen-double-encoder-table.py#35

To run the linter:

./mach lint -W -l ruff js/src/jit/arm/gen-double-encoder-table.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.

Type: defect → task
Mentor: sledru
Assignee: nobody → brieuc.gommard
Status: NEW → ASSIGNED
Attachment #9600825 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: