Closed
Bug 2042442
Opened 22 days ago
Closed 10 days ago
Fix ruff warnings in layout/tools/reftest/reftest/__init__.py
Fix ruff warnings in layout/tools/reftest/reftest/__init__.py
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
---
[lang=python]
QA Whiteboard:
---
Change Request:
---
Bug Flags:
| Reporter | |
Description•22 days ago
|
Filing as a good first bug to learn workflows.
layout/tools/reftest/reftest/__init__.py
153:17 warning `for` loop variable `line` overwritten by assignment target PLW2901 (ruff)
162:17 warning `for` loop variable `line` overwritten by assignment target PLW2901 (ruff)
163:13 warning `for` loop variable `line` overwritten by assignment target PLW2901 (ruff)
Link to the code:
https://searchfox.org/mozilla-central/source/layout/tools/reftest/reftest/__init__.py#153
To run the linter:
./mach lint -W -l ruff layout/tools/reftest/reftest/init.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.
| Reporter | |
Updated•22 days ago
|
Type: defect → task
| Assignee | |
Comment 1•10 days ago
|
Updated•10 days ago
|
Assignee: nobody → pedram.yekta12
Status: NEW → ASSIGNED
Pushed by sledru@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/ef7471535a08
https://hg.mozilla.org/integration/autoland/rev/5ac601eb85a4
Fix ruff warnings in reftest manifest parser. r=sylvestre DONTBUILD
Comment 3•10 days ago
|
|
| bugherder | |
Status: ASSIGNED → RESOLVED
Closed: 10 days 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.
