Closed Bug 1968298 Opened 1 year ago Closed 1 year ago

Fix a ruff warning in build/gn_processor.py

Categories

(Developer Infrastructure :: Lint and Formatting, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1978493

People

(Reporter: Sylvestre, Assigned: khalid.alhaddad98)

References

(Blocks 1 open bug)

Details

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

Attachments

(1 external file)

Filling as a good first bug to learn workflows.

build/gn_processor.py
343:16: warning Consider merging multiple comparisons: `ext in {".h", ".inc"}`. PLR1714 (ruff)

Link to the code:
https://searchfox.org/mozilla-central/source/build/gn_processor.py#343
To run the linter:

./mach lint -W -l ruff build/gn_processor.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: nobody → khalid20098
Status: NEW → ASSIGNED

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:khalid20098, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(ngrunbaum)
Flags: needinfo?(khalid20098)

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(khalid20098)

Unfortunately the issue had already been fixed by bug 1978493's patch.
I'm sorry for the landing process not being performed properly.

For the next time, please ask the reviewer for landing the patch once the patch is approved.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1978493
Resolution: --- → DUPLICATE
Flags: needinfo?(ngrunbaum)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: