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

Unified Diff: tools/telemetry/telemetry/web_perf/metrics/gpu_timeline_unittest.py

Issue 1125633002: [Telemetry] Enable import-error, bad-indentation, bad-whitespace lint check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/web_perf/metrics/gpu_timeline_unittest.py
diff --git a/tools/telemetry/telemetry/web_perf/metrics/gpu_timeline_unittest.py b/tools/telemetry/telemetry/web_perf/metrics/gpu_timeline_unittest.py
index 52a60ed9f93c0ff7fc8e1c371177912c585dfc66..acdfcf3bf7236f12a48774945395a4272cb6ff30 100644
--- a/tools/telemetry/telemetry/web_perf/metrics/gpu_timeline_unittest.py
+++ b/tools/telemetry/telemetry/web_perf/metrics/gpu_timeline_unittest.py
@@ -23,7 +23,7 @@ INTERACTION_RECORDS = [tir_module.TimelineInteractionRecord("test-record",
def _CreateGPUSlices(parent_thread, name, start_time, duration, offset=0):
- args = { 'gl_category': gpu_timeline.TOPLEVEL_GL_CATEGORY }
+ args = {'gl_category': gpu_timeline.TOPLEVEL_GL_CATEGORY}
return (slice_module.Slice(parent_thread,
gpu_timeline.TOPLEVEL_SERVICE_CATEGORY,
name, start_time,
@@ -36,7 +36,7 @@ def _CreateGPUSlices(parent_thread, name, start_time, duration, offset=0):
duration=duration))
def _CreateFrameEndSlices(parent_thread, start_time, duration, offset=0):
- args = { 'gl_category': gpu_timeline.TOPLEVEL_GL_CATEGORY }
+ args = {'gl_category': gpu_timeline.TOPLEVEL_GL_CATEGORY}
return (slice_module.Slice(parent_thread,
SERVICE_FRAME_END_CATEGORY,
SERVICE_FRAME_END_NAME,

Powered by Google App Engine
This is Rietveld 408576698