blob: 5081dd9080675c69262cc031fb91e69e00247817 [file] [log] [blame]
[MESSAGES CONTROL]
disable=
# TODO(patricktu@):Remove "too-few-public-methods" when project_info.py ok.
too-few-public-methods,
# TODO(albaltai@):Remove "fixme" when each module implement finished.
fixme,
# More than 7 variables is reasonable in ModuleData class.
too-many-instance-attributes,
# Atest unittests requires below flags:
duplicate-code,
consider-using-f-string
[MASTER]
init-hook='import os, sys; sys.path.append(os.path.join(os.path.expandvars("$ANDROID_BUILD_TOP"), "external", "python", "pyfakefs"))'
# Use multiple processes to speed up Pylint.
jobs=0
[BASIC]
# Regular expression matching correct method names.
method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
# Good variable names which should always be accepted, separated by a comma.
good-names=e, f, i, j
# Naming style for methods
method-naming-style=snake_case
[DESIGN]
# Maximum number of arguments for function/method.
max-args=6
# Maximum number of return/yield for function/method body.
max-returns=10
# Maximum number of public methods for a class (see R0904).
max-public-methods=40
[TYPECHECK]
ignored-modules=
# For sharing modules from atest project.
atest,
metrics
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=80
[SIMILARITIES]
# Ignore imports when computing similarities.
ignore-imports=yes