summaryrefslogtreecommitdiffstats
path: root/tools/perf/profile_creators
diff options
context:
space:
mode:
authornednguyen <nednguyen@google.com>2015-04-23 08:03:18 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-23 15:03:19 +0000
commit2931c1a0862594e2f6e1bdcfb1f73f6139fff146 (patch)
tree4a6a5e21af7ed9deafd10172f600d11ac0d13732 /tools/perf/profile_creators
parent67b11bd8b019baf418e8a37ae0408e55252fd5ef (diff)
downloadchromium_src-2931c1a0862594e2f6e1bdcfb1f73f6139fff146.zip
chromium_src-2931c1a0862594e2f6e1bdcfb1f73f6139fff146.tar.gz
chromium_src-2931c1a0862594e2f6e1bdcfb1f73f6139fff146.tar.bz2
Enable 'unused-import' and 'import-error' lint check for perf/
BUG=475714 Review URL: https://codereview.chromium.org/1103613002 Cr-Commit-Position: refs/heads/master@{#326520}
Diffstat (limited to 'tools/perf/profile_creators')
-rw-r--r--tools/perf/profile_creators/cookie_profile_extender.py1
-rw-r--r--tools/perf/profile_creators/fast_navigation_profile_extender_unittest.py2
-rw-r--r--tools/perf/profile_creators/history_profile_extender_unittest.py2
3 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/profile_creators/cookie_profile_extender.py b/tools/perf/profile_creators/cookie_profile_extender.py
index ad9e85d..cb53363 100644
--- a/tools/perf/profile_creators/cookie_profile_extender.py
+++ b/tools/perf/profile_creators/cookie_profile_extender.py
@@ -8,7 +8,6 @@ import sqlite3
import page_sets
from profile_creators import fast_navigation_profile_extender
-from profile_creators import profile_safe_url_list
class CookieProfileExtender(
fast_navigation_profile_extender.FastNavigationProfileExtender):
diff --git a/tools/perf/profile_creators/fast_navigation_profile_extender_unittest.py b/tools/perf/profile_creators/fast_navigation_profile_extender_unittest.py
index c514947..86e6c81 100644
--- a/tools/perf/profile_creators/fast_navigation_profile_extender_unittest.py
+++ b/tools/perf/profile_creators/fast_navigation_profile_extender_unittest.py
@@ -9,7 +9,7 @@ from telemetry.core import util
from telemetry.unittest_util import options_for_unittests
util.AddDirToPythonPath(util.GetTelemetryDir(), 'third_party', 'mock')
-import mock
+import mock # pylint: disable=import-error
class FakeTab(object):
diff --git a/tools/perf/profile_creators/history_profile_extender_unittest.py b/tools/perf/profile_creators/history_profile_extender_unittest.py
index 46997cd..022e957 100644
--- a/tools/perf/profile_creators/history_profile_extender_unittest.py
+++ b/tools/perf/profile_creators/history_profile_extender_unittest.py
@@ -12,7 +12,7 @@ from telemetry import decorators
from telemetry.unittest_util import options_for_unittests
util.AddDirToPythonPath(util.GetTelemetryDir(), 'third_party', 'mock')
-import mock
+import mock # pylint: disable=import-error
# Testing private method.