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

Issue 739623005: [Telemetry] Resolve errors due to new pylint checker. (Closed)

Created:
6 years, 1 month ago by nednguyen
Modified:
6 years, 1 month ago
Reviewers:
tonyg, vapier, dtu, chrishenry
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Telemetry] Resolve errors due to new pylint checker. BUG= Committed: https://crrev.com/50cb444351e5d43e428abdd5fcd597a6a9c232e4 Cr-Commit-Position: refs/heads/master@{#304834}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address Tony's comments #

Patch Set 3 : Solve cyclic import problem #

Patch Set 4 : Ready to land #

Patch Set 5 : ready to land #

Unified diffs Side-by-side diffs Delta from patch set Stats (+375 lines, -369 lines) Patch
M tools/telemetry/telemetry/benchmark.py View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/android_browser_finder_unittest.py View 1 chunk +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py View 1 chunk +2 lines, -2 lines 0 comments Download
D tools/telemetry/telemetry/core/backends/chrome/chrome_browser_options.py View 1 2 1 chunk +0 lines, -45 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/cros_browser_finder.py View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/inspector_network.py View 3 chunks +3 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/inspector_network_unittest.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/inspector_websocket_unittest.py View 3 chunks +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/ios_browser_backend.py View 2 chunks +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/ios_browser_finder.py View 3 chunks +4 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/websocket.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/webdriver/webdriver_ie_backend.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/bitmap.py View 2 chunks +3 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_credentials.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_finder.py View 1 2 4 chunks +6 lines, -13 lines 0 comments Download
A + tools/telemetry/telemetry/core/browser_finder_exceptions.py View 1 2 3 1 chunk +7 lines, -8 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_options.py View 1 2 6 chunks +51 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_options_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/camel_case_unittest.py View 2 chunks +19 lines, -18 lines 0 comments Download
M tools/telemetry/telemetry/core/extension_unittest.py View 1 chunk +2 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/forwarders/android_forwarder.py View 4 chunks +5 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/gpu_device_unittest.py View 4 chunks +10 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/core/gpu_info_unittest.py View 4 chunks +24 lines, -23 lines 0 comments Download
M tools/telemetry/telemetry/core/local_server.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/__init__.py View 1 2 2 chunks +1 line, -13 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/cros_interface.py View 1 5 chunks +7 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/cros_interface_unittest.py View 1 chunk +3 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/linux_based_platform_backend.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/mac_platform_backend.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/platform_backend.py View 1 1 chunk +10 lines, -10 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/posix_platform_backend.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor_unittest.py View 1 chunk +3 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/power_monitor_controller_unittest.py View 1 chunk +0 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/powermetrics_power_monitor.py View 11 chunks +15 lines, -15 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/sysfs_power_monitor.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_traceview_profiler.py View 1 chunk +1 line, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/monsoon.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/monsoon_profiler.py View 1 chunk +3 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/perf_profiler_unittest.py View 1 chunk +11 lines, -11 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/strace_profiler.py View 1 chunk +19 lines, -19 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/v8_profiler.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/win_platform_backend.py View 1 chunk +1 line, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/system_info_unittest.py View 3 chunks +20 lines, -19 lines 0 comments Download
M tools/telemetry/telemetry/core/util.py View 1 2 2 chunks +13 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/video_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/wpr_server.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/page/page_runner_unittest.py View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/record_wpr_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/page/shared_page_state.py View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/page/test_expectations_unittest.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/results/csv_pivot_table_output_formatter.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/results/csv_pivot_table_output_formatter_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/results/page_test_results.py View 1 chunk +1 line, -0 lines 0 comments Download
M tools/telemetry/telemetry/timeline/counter.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/timeline/empty_timeline_data_importer_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/timeline/model.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/timeline/thread.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/timeline/trace_event_importer.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/timeline/trace_event_importer_unittest.py View 2 chunks +3 lines, -3 lines 0 comments Download
D tools/telemetry/telemetry/unittest.py View 1 chunk +0 lines, -7 lines 0 comments Download
M tools/telemetry/telemetry/unittest_util/json_results.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/unittest_util/run_tests.py View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/unittest_util/simple_mock.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/unittest_util/system_stub_unittest.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/util/__init__.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/util/bootstrap.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/util/classes_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/util/cloud_storage.py View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/util/exception_formatter.py View 1 1 chunk +2 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/util/trace.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/value/histogram_util.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/value/list_of_scalar_values_unittest.py View 2 chunks +4 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/value/list_of_string_values_unittest.py View 2 chunks +4 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/value/value_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/web_components/web_component.py View 1 chunk +1 line, -0 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/metrics/rendering_stats.py View 3 chunks +3 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/metrics/rendering_stats_unittest.py View 16 chunks +46 lines, -42 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/metrics/smoothness_unittest.py View 2 chunks +2 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/timeline_interaction_record.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/unittest_data/test_page_set.py View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
nednguyen
I can't solve the cyclic import error with pylint. Is there easy way to get ...
6 years, 1 month ago (2014-11-19 00:44:35 UTC) #2
tonyg
lgtm w/ nits Wow! Thanks for doing this. I am a little disappointed this hassle ...
6 years, 1 month ago (2014-11-19 01:35:37 UTC) #3
nednguyen
https://codereview.chromium.org/739623005/diff/1/tools/telemetry/telemetry/core/platform/cros_interface.py File tools/telemetry/telemetry/core/platform/cros_interface.py (right): https://codereview.chromium.org/739623005/diff/1/tools/telemetry/telemetry/core/platform/cros_interface.py#newcode152 tools/telemetry/telemetry/core/platform/cros_interface.py:152: r'hosts.\s\n', '', toClean) On 2014/11/19 01:35:36, tonyg wrote: > ...
6 years, 1 month ago (2014-11-19 02:15:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/739623005/40001
6 years, 1 month ago (2014-11-19 04:41:50 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/81554)
6 years, 1 month ago (2014-11-19 05:03:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/739623005/60001
6 years, 1 month ago (2014-11-19 05:08:16 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/6991)
6 years, 1 month ago (2014-11-19 06:15:36 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/739623005/80001
6 years, 1 month ago (2014-11-19 15:52:50 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 1 month ago (2014-11-19 17:56:13 UTC) #15
commit-bot: I haz the power
6 years, 1 month ago (2014-11-19 17:56:56 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/50cb444351e5d43e428abdd5fcd597a6a9c232e4
Cr-Commit-Position: refs/heads/master@{#304834}

Powered by Google App Engine
This is Rietveld 408576698