chromium/tools/perf/pylintrc

[MESSAGES CONTROL]

# Disable the message, report, category or checker with the given id(s).
# TODO(perf-owners): Reduce this list to as small as possible.
disable=
  abstract-class-little-used,
  abstract-class-not-used,
  bad-builtin,
  bad-continuation,
  bad-indentation,
  bad-whitespace,
  broad-except,
  eval-used,
  fixme,
  global-statement,
  interface-not-implemented,
  invalid-name,
  locally-enabled,
  locally-disabled,
  logging-not-lazy,
  missing-docstring,
  no-member,
  no-self-use,
  star-args,
  too-few-public-methods,
  too-many-arguments,
  too-many-branches,
  too-many-instance-attributes,
  too-many-locals,
  too-many-public-methods,
  too-many-statements,
  too-many-return-statements,
  # TODO(crbug.com/40231155): added for pylint 2.7
  raise-missing-from, # python3 only
  useless-object-inheritance, # python3 only
  super-with-arguments, # python3 only
  duplicate-code,
  wrong-import-position,
  wrong-import-order


[REPORTS]

# Don't write out full reports, just messages.
reports=no


[VARIABLES]

# Google style
dummy-variables-rgx=_$|unused_


[FORMAT]

# We use two spaces for indents, instead of the usual four spaces or tab.
indent-string='  '

# We suppress long line check for lines that contain only the URL (with or
# without quote).
ignore-long-lines=^\s*'?https?://\S+'?$


[DESIGN]
max-parents=10