Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Issue 2014063002: Run format-webkit on webkitpy code (without string conversion). (Closed)

Created:
4 years, 7 months ago by qyearsley
Modified:
4 years, 6 months ago
Reviewers:
Dirk Pranke, prasadv, mithro
CC:
blink-reviews, blink-reviews-style_chromium.org, blink-reviews-w3ctests_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, Dirk Pranke, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Run format-webkit on webkitpy code (without string conversion). This is a follow-up to http://crrev.com/1839193004; the auto-formatting done by this CL is similar to that done in that CL, except ./format-webkitpy calls autopep8 with --aggressive. Specifically: ./format-webkitpy --leave-strings-alone --no-backups $(find . -name '*.py' | grep -v thirdparty) Also ran the same command on the Python files in Tools/Scripts. BUG=598897 Committed: https://crrev.com/32c236f5f3e81f364347723909d45971eb713400 Cr-Commit-Position: refs/heads/master@{#397453}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Responded to comments #

Patch Set 3 : Rebased #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+473 lines, -288 lines) Patch
M third_party/WebKit/Tools/Scripts/check-testharness-expected-pass View 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/lint-test-expectations View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/print-json-test-results View 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/print-stale-test-expectations-entries View 3 chunks +9 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/print-test-ordering View 4 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/run-bindings-tests View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkit-patch View 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/bindings/main.py View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer.py View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git.py View 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/find_files.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/host.py View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/host_mock.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/message_pool.py View 1 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py View 1 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot_unittest.py View 1 1 chunk +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/networktransaction.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/networktransaction_unittest.py View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs.py View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs_unittest.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive.py View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem.py View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/logtesting.py View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputcapture.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo.py View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo_unittest.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/systemhost_mock.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/user.py View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/workspace.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/formatter/main.py View 1 1 chunk +14 lines, -8 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/dump_reader_multipart.py View 1 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/breakpad/dump_reader_win.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/builder_list.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py View 1 5 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/generate_results_dashboard.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/bot_test_expectations.py View 1 1 chunk +24 lines, -20 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_configuration.py View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py View 1 7 chunks +17 lines, -10 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py View 5 chunks +61 lines, -16 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_failures.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_input.py View 1 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_results.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/testharness_results_unittest.py View 3 chunks +32 lines, -16 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py View 5 chunks +10 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py View 1 2 9 chunks +13 lines, -9 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/driver.py View 1 3 chunks +10 lines, -8 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/factory.py View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/port_testcase.py View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process.py View 1 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_mock.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/win.py View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py View 2 chunks +18 lines, -9 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/server_base.py View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/metered_stream.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/printing.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/printing_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftest.py View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py View 4 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp.py View 1 17 chunks +47 lines, -44 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py View 1 5 chunks +9 lines, -6 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/jsonchecker.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/xml.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/error_handlers.py View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/filereader_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/filter.py View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/filter_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/optparser.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/bot/commitannouncer.py View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/commandtest.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/commitannouncer.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/flakytests_unittest.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/helpcommand.py View 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py View 4 chunks +20 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/mocktool.py View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/multicommandtool.py View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py View 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer.py View 1 2 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
qyearsley
Note: There are a couple places where I think it wraps more than necessary, but ...
4 years, 7 months ago (2016-05-25 22:23:12 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014063002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014063002/1
4 years, 7 months ago (2016-05-26 01:00:05 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-26 04:32:21 UTC) #7
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-26 04:32:27 UTC) #8
mithro
On 2016/05/26 at 04:32:27, commit-bot wrote: > Dry run: None Two small issues, otherwise LGTM. ...
4 years, 6 months ago (2016-05-27 04:12:07 UTC) #9
qyearsley
https://codereview.chromium.org/2014063002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py File third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py (right): https://codereview.chromium.org/2014063002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py#newcode91 third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py:91: """Contains the information for one file in a patch. ...
4 years, 6 months ago (2016-05-27 16:06:03 UTC) #10
qyearsley
On 2016/05/27 at 04:12:07, tansell wrote: > On 2016/05/26 at 04:32:27, commit-bot wrote: > > ...
4 years, 6 months ago (2016-05-27 16:08:57 UTC) #11
Dirk Pranke
this more-or-less lgtm, but that's mostly a rubber stamp and I don't care that much. ...
4 years, 6 months ago (2016-06-01 00:06:48 UTC) #12
mithro
lgtm Dunno why these two comments didn't go out with my initial response. https://codereview.chromium.org/2014063002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs_unittest.py File ...
4 years, 6 months ago (2016-06-01 01:01:42 UTC) #13
qyearsley
https://codereview.chromium.org/2014063002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py File third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py (right): https://codereview.chromium.org/2014063002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py#newcode91 third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py:91: """Contains the information for one file in a patch. ...
4 years, 6 months ago (2016-06-01 21:24:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014063002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014063002/20001
4 years, 6 months ago (2016-06-01 21:25:10 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/74949) android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, ...
4 years, 6 months ago (2016-06-01 21:30:23 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014063002/60001
4 years, 6 months ago (2016-06-02 00:31:00 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239339)
4 years, 6 months ago (2016-06-02 02:37:25 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014063002/60001
4 years, 6 months ago (2016-06-02 03:27:01 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239543)
4 years, 6 months ago (2016-06-02 04:10:27 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014063002/60001
4 years, 6 months ago (2016-06-02 15:48:39 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-02 17:11:02 UTC) #31
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 17:12:07 UTC) #33
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/32c236f5f3e81f364347723909d45971eb713400
Cr-Commit-Position: refs/heads/master@{#397453}

Powered by Google App Engine
This is Rietveld 408576698