Closed
Bug 1231806
Opened 9 years ago
Closed 9 years ago
testing/mochitest/ code should follow the flake8 convention
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(firefox46 fixed)
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: simon)
References
Details
Attachments
(6 files)
939 bytes,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
817 bytes,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
4.33 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
1.22 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
1.74 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
1.18 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
Run on the Firefox source code, the following line shows a bunch of warnings. Nothing critical but it would be nice to remove them:
flake8 --max-line-length=4000 testing/mochitest/|grep -v pywebsocket
pywebsocket is a third party library, we should not updated it.
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → simon
Attachment #8702262 -
Flags: review?(ted)
Attachment #8702263 -
Flags: review?(ted)
Attachment #8702264 -
Flags: review?(ted)
Attachment #8702265 -
Flags: review?(ted)
Attachment #8702266 -
Flags: review?(ted)
Attachment #8702267 -
Flags: review?(ted)
Updated•9 years ago
|
Attachment #8702267 -
Flags: review?(ted) → review+
Updated•9 years ago
|
Attachment #8702266 -
Flags: review?(ted) → review+
Updated•9 years ago
|
Attachment #8702265 -
Flags: review?(ted) → review+
Updated•9 years ago
|
Attachment #8702264 -
Flags: review?(ted) → review+
Updated•9 years ago
|
Attachment #8702263 -
Flags: review?(ted) → review+
Comment 8•9 years ago
|
||
Comment on attachment 8702262 [details] [diff] [review]
Fix syntax error reported by flake8
Review of attachment 8702262 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the patches! FYI, in the future for simple cleanup like this, feel free to submit these all as one large patch.
Attachment #8702262 -
Flags: review?(ted) → review+
Reporter | ||
Comment 9•9 years ago
|
||
Ted, someone asked me in the past to do a patch per kind of error. Do we have a policy here?
(FWIW, I agree with you)
Requesting the checkin on Simon's behalf.
Keywords: checkin-needed
Comment 10•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d35b3ef1bdb6
https://hg.mozilla.org/integration/mozilla-inbound/rev/6f187e5d5a53
https://hg.mozilla.org/integration/mozilla-inbound/rev/4a8c0bac7bd2
https://hg.mozilla.org/integration/mozilla-inbound/rev/64191519db53
https://hg.mozilla.org/integration/mozilla-inbound/rev/f6fe454687d5
https://hg.mozilla.org/integration/mozilla-inbound/rev/f8a7896caec0
Keywords: checkin-needed
Comment 11•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d35b3ef1bdb6
https://hg.mozilla.org/mozilla-central/rev/6f187e5d5a53
https://hg.mozilla.org/mozilla-central/rev/4a8c0bac7bd2
https://hg.mozilla.org/mozilla-central/rev/64191519db53
https://hg.mozilla.org/mozilla-central/rev/f6fe454687d5
https://hg.mozilla.org/mozilla-central/rev/f8a7896caec0
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Comment 12•9 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #9)
> Ted, someone asked me in the past to do a patch per kind of error. Do we
> have a policy here?
> (FWIW, I agree with you)
In general I tend to just tell people to use their best judgement and try to do what results in the least amount of work for both the patch author and the reviewer.
You need to log in
before you can comment on or make changes to this bug.
Description
•