|
|
DescriptionFix build/mac_toolchain.py for pylint warning.
* Erase unused variable and unused argument.
* Specify exception type.
BUG=
Committed: https://crrev.com/1a1610f152f2912df8ed06ce576672b55684b215
Cr-Commit-Position: refs/heads/master@{#393785}
Patch Set 1 #
Total comments: 5
Patch Set 2 : fix for pylint warning. #Patch Set 3 : #Messages
Total messages: 25 (11 generated)
Description was changed from ========== fix to supress pylint. BUG= ========== to ========== fix for pylint warning. BUG= ==========
tikuta@chromium.org changed reviewers: + justincohen@chromium.org
Oops. Is there a bot that runs pylint to catch this, or did you run it yourself? thanks! https://codereview.chromium.org/1971663002/diff/1/build/mac_toolchain.py File build/mac_toolchain.py (left): https://codereview.chromium.org/1971663002/diff/1/build/mac_toolchain.py#oldc... build/mac_toolchain.py:112: def AcceptLicense(directory): and remove this. https://codereview.chromium.org/1971663002/diff/1/build/mac_toolchain.py File build/mac_toolchain.py (right): https://codereview.chromium.org/1971663002/diff/1/build/mac_toolchain.py#newc... build/mac_toolchain.py:179: AcceptLicense(TOOLCHAIN_BUILD_DIR) probably makes more sense to remove the param. https://codereview.chromium.org/1971663002/diff/1/build/mac_toolchain.py#newc... build/mac_toolchain.py:197: AcceptLicense(TOOLCHAIN_BUILD_DIR) and here
Thanks for your review. On 2016/05/11 13:52:21, justincohen wrote: > Oops. Is there a bot that runs pylint to catch this, or did you run it > yourself? thanks! We use this script in our project goma. pylint is used in our repository. > https://codereview.chromium.org/1971663002/diff/1/build/mac_toolchain.py#newc... > build/mac_toolchain.py:179: AcceptLicense(TOOLCHAIN_BUILD_DIR) > probably makes more sense to remove the param. Done > https://codereview.chromium.org/1971663002/diff/1/build/mac_toolchain.py#newc... > build/mac_toolchain.py:197: AcceptLicense(TOOLCHAIN_BUILD_DIR) > and here Done
https://codereview.chromium.org/1971663002/diff/1/build/mac_toolchain.py File build/mac_toolchain.py (right): https://codereview.chromium.org/1971663002/diff/1/build/mac_toolchain.py#newc... build/mac_toolchain.py:179: AcceptLicense(TOOLCHAIN_BUILD_DIR) On 2016/05/11 13:52:21, justincohen wrote: > probably makes more sense to remove the param. Done. https://codereview.chromium.org/1971663002/diff/1/build/mac_toolchain.py#newc... build/mac_toolchain.py:197: AcceptLicense(TOOLCHAIN_BUILD_DIR) On 2016/05/11 13:52:21, justincohen wrote: > and here Done.
thanks, lgtm!
Please update the subject to be more specific. Is there a bot or tool that found this?
Description was changed from ========== fix for pylint warning. BUG= ========== to ========== * pylint is used in internal project goma. In goma, git cl upload runs pylint and warning was detected. BUG= ==========
tikuta@chromium.org changed reviewers: + shinyak@chromium.org, ukai@chromium.org, yyanagisawa@chromium.org
On 2016/05/12 13:29:08, justincohen wrote: > Please update the subject to be more specific. Is there a bot or tool that > found this? Thank you lgtm. the subject is updated.
Description was changed from ========== * pylint is used in internal project goma. In goma, git cl upload runs pylint and warning was detected. BUG= ========== to ========== * erase unused variable and unused argument * specify exception type BUG= ==========
On 2016/05/13 02:45:57, tikuta wrote: > On 2016/05/12 13:29:08, justincohen wrote: > > Please update the subject to be more specific. Is there a bot or tool that > > found this? Sorry for jumping in. Our project borrows several code from chromium, and our PRESUBMIT check found imported code has pylint warnings. Do you know why chromium does not run pylint in PRESUBMIT?
Description was changed from ========== * erase unused variable and unused argument * specify exception type BUG= ========== to ========== fix build/mac_toolchain.py for pylint warning * erase unused variable and unused argument * specify exception type BUG= ==========
lgtm FYI, I have copied the subject to the first line of the description because, as far as I understand, only description is shown to commit message.
lgtm note: % ~/depot_tools/pylint build/mac_toolchain.py ************* Module mac_toolchain W:104,18: Unused argument 'directory' (unused-argument) W:163, 2: No exception type(s) specified (bare-except)
I'm not sure, I'll ask around.
Description was changed from ========== fix build/mac_toolchain.py for pylint warning * erase unused variable and unused argument * specify exception type BUG= ========== to ========== Fix build/mac_toolchain.py for pylint warning. * Erase unused variable and unused argument. * Specify exception type. BUG= ==========
The CQ bit was checked by tikuta@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from justincohen@chromium.org Link to the patchset: https://codereview.chromium.org/1971663002/#ps40001 (title: " ")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971663002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971663002/40001
Message was sent while issue was closed.
Description was changed from ========== Fix build/mac_toolchain.py for pylint warning. * Erase unused variable and unused argument. * Specify exception type. BUG= ========== to ========== Fix build/mac_toolchain.py for pylint warning. * Erase unused variable and unused argument. * Specify exception type. BUG= ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Fix build/mac_toolchain.py for pylint warning. * Erase unused variable and unused argument. * Specify exception type. BUG= ========== to ========== Fix build/mac_toolchain.py for pylint warning. * Erase unused variable and unused argument. * Specify exception type. BUG= Committed: https://crrev.com/1a1610f152f2912df8ed06ce576672b55684b215 Cr-Commit-Position: refs/heads/master@{#393785} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/1a1610f152f2912df8ed06ce576672b55684b215 Cr-Commit-Position: refs/heads/master@{#393785} |