Closed Bug 2042444 Opened 5 months ago Closed 5 months ago

Fix ruff warnings in python/mach/mach/registrar.py

Categories

(Developer Infrastructure :: Lint and Formatting, task)

task

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2042443

People

(Reporter: Sylvestre, Unassigned)

References

(Blocks 1 open bug)

Details

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

Filing as a good first bug to learn workflows.



python/mach/mach/registrar.py
  36:17  warning  Use format specifiers instead of percent format  UP031 (ruff)
  41:17  warning  Use format specifiers instead of percent format  UP031 (ruff)
  59:21  warning  Use format specifiers instead of percent format  UP031 (ruff)

Link to the code:
https://searchfox.org/mozilla-central/source/python/mach/mach/registrar.py#36

To run the linter:

./mach lint -W -l ruff python/mach/mach/registrar.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.

Blocks: ruff
Status: NEW → RESOLVED
Closed: 5 months ago
Duplicate of bug: 2042443
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.