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

Unified Diff: tools/telemetry/telemetry/util/bootstrap.py

Issue 1100233002: [Telemetry] Enable more lint checks for telemetry/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix testComputeFrameTimeMetricWithNotEnoughFrames2 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
« no previous file with comments | « tools/telemetry/pylintrc ('k') | tools/telemetry/telemetry/value/value_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/util/bootstrap.py
diff --git a/tools/telemetry/telemetry/util/bootstrap.py b/tools/telemetry/telemetry/util/bootstrap.py
index 8afe43ced89053626445f6bc0bd521a90d1dee36..b1cbb697024eca996fecc51e1804bc5f474f33f7 100644
--- a/tools/telemetry/telemetry/util/bootstrap.py
+++ b/tools/telemetry/telemetry/util/bootstrap.py
@@ -35,7 +35,7 @@ def _DownloadAndImportDAVClientModule():
global davclient
davclient_src = urllib.urlopen(_DAVCLIENT_URL).read()
davclient = imp.new_module('davclient')
- exec davclient_src in davclient.__dict__
+ exec davclient_src in davclient.__dict__ # pylint: disable=exec-used
class DAVClientWrapper(object):
@@ -116,7 +116,7 @@ def ListAllDepsPaths(deps_file):
while os.path.basename(chrome_root) != 'src':
chrome_root = os.path.abspath(os.path.join(chrome_root, os.pardir))
- exec open(deps_file).read()
+ exec open(deps_file).read() # pylint: disable=exec-used
deps_paths = deps.keys()
@@ -146,7 +146,7 @@ def DownloadDeps(destination_dir, url):
deps = {}
deps_includes = {}
- exec urllib.urlopen(url).read()
+ exec urllib.urlopen(url).read() # pylint: disable=exec-used
for dst_path, src_path in deps.iteritems():
full_dst_path = os.path.join(destination_dir, dst_path)
« no previous file with comments | « tools/telemetry/pylintrc ('k') | tools/telemetry/telemetry/value/value_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698