Commit bd11f56b authored by nednguyen's avatar nednguyen Committed by Commit bot

Enable old-style-class lint check for telemetry & perf.

BUG=475714

Review URL: https://codereview.chromium.org/1134363002

Cr-Commit-Position: refs/heads/master@{#329677}
parent 1b996ca6
...@@ -87,7 +87,7 @@ SAMPLE_JSON = ''' ...@@ -87,7 +87,7 @@ SAMPLE_JSON = '''
''' '''
class FakeResults: class FakeResults(object):
def __init__(self, current_page): def __init__(self, current_page):
self._received_values = [] self._received_values = []
self._current_page = current_page self._current_page = current_page
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Disable the message, report, category or checker with the given id(s). # Disable the message, report, category or checker with the given id(s).
# TODO(perf-owners): Reduce this list to as small as possible. # TODO(perf-owners): Reduce this list to as small as possible.
disable=I0010,I0011,abstract-class-little-used,abstract-class-not-used,anomalous-backslash-in-string,bad-builtin,bad-context-manager,bad-continuation,bad-indentation,bad-str-strip-call,bad-whitespace,broad-except,cell-var-from-loop,deprecated-lambda,deprecated-module,duplicate-code,eval-used,exec-used,fixme,function-redefined,global-statement,interface-not-implemented,invalid-name,locally-enabled,logging-not-lazy,missing-docstring,missing-final-newline,no-init,no-member,no-name-in-module,no-self-use,no-self-use,not-callable,old-style-class,reimported,star-args,super-on-old-class,too-few-public-methods,too-many-ancestors,too-many-arguments,too-many-branches,too-many-function-args,too-many-instance-attributes,too-many-lines,too-many-locals,too-many-public-methods,too-many-return-statements,too-many-statements,trailing-whitespace,useless-else-on-loop disable=I0010,I0011,abstract-class-little-used,abstract-class-not-used,anomalous-backslash-in-string,bad-builtin,bad-context-manager,bad-continuation,bad-indentation,bad-str-strip-call,bad-whitespace,broad-except,cell-var-from-loop,deprecated-lambda,deprecated-module,duplicate-code,eval-used,exec-used,fixme,function-redefined,global-statement,interface-not-implemented,invalid-name,locally-enabled,logging-not-lazy,missing-docstring,missing-final-newline,no-init,no-member,no-name-in-module,no-self-use,no-self-use,not-callable,reimported,star-args,super-on-old-class,too-few-public-methods,too-many-ancestors,too-many-arguments,too-many-branches,too-many-function-args,too-many-instance-attributes,too-many-lines,too-many-locals,too-many-public-methods,too-many-return-statements,too-many-statements,trailing-whitespace,useless-else-on-loop
[REPORTS] [REPORTS]
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Disable the message, report, category or checker with the given id(s). # Disable the message, report, category or checker with the given id(s).
# TODO(telemetry-team): Shrink this list to as small as possible. # TODO(telemetry-team): Shrink this list to as small as possible.
disable=I0010,I0011,abstract-class-little-used,abstract-class-not-used,anomalous-backslash-in-string,bad-builtin,bad-continuation,bad-str-strip-call,broad-except,cell-var-from-loop,deprecated-lambda,deprecated-module,duplicate-code,fixme,global-statement,interface-not-implemented,invalid-name,locally-enabled,logging-not-lazy,missing-docstring,no-init,no-member,no-name-in-module,no-self-use,not-callable,old-style-class,protected-access,star-args,too-few-public-methods,too-many-ancestors,too-many-arguments,too-many-branches,too-many-function-args,too-many-instance-attributes,too-many-lines,too-many-locals,too-many-public-methods,too-many-return-statements,too-many-statements,unused-argument disable=I0010,I0011,abstract-class-little-used,abstract-class-not-used,anomalous-backslash-in-string,bad-builtin,bad-continuation,bad-str-strip-call,broad-except,cell-var-from-loop,deprecated-lambda,deprecated-module,duplicate-code,fixme,global-statement,interface-not-implemented,invalid-name,locally-enabled,logging-not-lazy,missing-docstring,no-init,no-member,no-name-in-module,no-self-use,not-callable,protected-access,star-args,too-few-public-methods,too-many-ancestors,too-many-arguments,too-many-branches,too-many-function-args,too-many-instance-attributes,too-many-lines,too-many-locals,too-many-public-methods,too-many-return-statements,too-many-statements,unused-argument
[REPORTS] [REPORTS]
......
...@@ -9,7 +9,7 @@ from telemetry.core import browser_options ...@@ -9,7 +9,7 @@ from telemetry.core import browser_options
from telemetry.unittest_util import system_stub from telemetry.unittest_util import system_stub
class FakeAndroidPlatform(): class FakeAndroidPlatform(object):
def __init__(self, can_launch): def __init__(self, can_launch):
self._platform_backend = None self._platform_backend = None
self._unittest_can_launch = can_launch self._unittest_can_launch = can_launch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment