Closed
Bug 1282398
Opened 8 years ago
Closed 8 years ago
Fix all flake8 errors in testing/talos/talos
Categories
(Testing :: Talos, defect)
Testing
Talos
Tracking
(firefox50 fixed)
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: malayaleecoder, Assigned: malayaleecoder, Mentored)
References
Details
(Whiteboard: [talos_wishlist])
Attachments
(3 files, 1 obsolete file)
Running the flake8 in testing/talos/talos, yield many instances where it fails.
This bug aims to fix all of those errors to make it perfect.
PFA the list of conflicts.
Assignee | ||
Comment 1•8 years ago
|
||
Please Note: This occurs for python 3
Assignee | ||
Comment 2•8 years ago
|
||
I have fixed almost all the errors, except for the ones given in flake8_errors_after_patch.txt
Not sure what to do for the rest of the conflicts. :jmaher, do suggest some alternatives.
Assignee: nobody → malayaleecoder
Status: NEW → ASSIGNED
Attachment #8765974 -
Flags: feedback?(jmaher)
Assignee | ||
Comment 3•8 years ago
|
||
All of them are "F821 undefined name" errors.
Comment 4•8 years ago
|
||
Comment on attachment 8765974 [details] [diff] [review]
Bug1282398_v1.diff
Review of attachment 8765974 [details] [diff] [review]:
-----------------------------------------------------------------
this looks great, I am not sure if the except changes work in python 2.7, maybe it is 2.5 that won't work- I would like to see a try run to ensure that talos runs fine and passes the flake8 for 2.7 :)
Attachment #8765974 -
Flags: feedback?(jmaher) → feedback+
Assignee | ||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
I see file() is an api call, possibly we can use with open() instead or replace these api calls with something. Right now the list is smaller, I suspect a few of these issues can be easily fixed, the others might have to wait.
Assignee | ||
Comment 7•8 years ago
|
||
Here is the try for this patch,
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3d80ab53efe0
Attachment #8765974 -
Attachment is obsolete: true
Attachment #8766180 -
Flags: review?(jmaher)
Comment 8•8 years ago
|
||
Comment on attachment 8766180 [details] [diff] [review]
Bug1282398_v2.diff
Review of attachment 8766180 [details] [diff] [review]:
-----------------------------------------------------------------
very nice!
Attachment #8766180 -
Flags: review?(jmaher) → review+
Updated•8 years ago
|
Whiteboard: [talos_wishlist]
Comment 10•8 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/408b1ffc45c8
Fix all flake8 errors in testing/talos/talos. r=jmaher
Keywords: checkin-needed
Comment 11•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•