VOOZH about

URL: https://bugzilla.mozilla.org/2031353

⇱ 2031353 - Fix ruff warnings in js/src/irregexp/import-irregexp.py


Closed Bug 2031353 Opened 2 months ago Closed 1 month ago

Fix ruff warnings in js/src/irregexp/import-irregexp.py

Fix ruff warnings in js/src/irregexp/import-irregexp.py
Developer Infrastructure
Lint and Formatting
unspecified
All
All
RESOLVED FIXED
RESOLVED
FIXED
152 Branch
Accessibility Severity
Tracking Status
firefox152 --- fixed
Tracking Status
relnote-firefox
thunderbird_esr115
thunderbird_esr140
firefox-esr115
firefox-esr140
firefox-esr153
firefox152
firefox153
firefox154
---
[lang=python]
QA Whiteboard:
---
Change Request:
---
Bug Flags:
Signature:
None
This bug is publicly visible.

 

Filing as a good first bug to learn workflows.

js/src/irregexp/import-irregexp.py
 118:28 warning Use format specifiers instead of percent format UP031 (ruff)
 139:17 warning Use format specifiers instead of percent format UP031 (ruff)

Link to the code:
https://searchfox.org/mozilla-central/source/js/src/irregexp/import-irregexp.py#118

To run the linter:

./mach lint -W -l ruff js/src/irregexp/import-irregexp.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.

Mentor: sledru
Assignee: nobody → amin.amir
Status: NEW → ASSIGNED

Comment 2

1 month ago

Comment 3

1 month ago
bugherder
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.