1[MESSAGES CONTROL] 2 3disable= 4 # TODO(patricktu@):Remove "too-few-public-methods" when project_info.py ok. 5 too-few-public-methods, 6 # TODO(albaltai@):Remove "fixme" when each module implement finished. 7 fixme, 8 # More than 7 variables is reasonable in ModuleData class. 9 too-many-instance-attributes, 10 # Atest unittests requires below flags: 11 duplicate-code, 12 consider-using-f-string 13 14[MASTER] 15 16init-hook='import os, sys; sys.path.append(os.path.join(os.path.expandvars("$ANDROID_BUILD_TOP"), "external", "python", "pyfakefs"))' 17 18# Use multiple processes to speed up Pylint. 19jobs=0 20 21[BASIC] 22 23# Regular expression matching correct method names. 24method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$ 25 26# Good variable names which should always be accepted, separated by a comma. 27good-names=e, f, i, j 28 29# Naming style for methods 30method-naming-style=snake_case 31 32[DESIGN] 33 34# Maximum number of arguments for function/method. 35max-args=6 36 37# Maximum number of return/yield for function/method body. 38max-returns=10 39 40# Maximum number of public methods for a class (see R0904). 41max-public-methods=40 42 43[TYPECHECK] 44 45ignored-modules= 46 # For sharing modules from atest project. 47 atest, 48 metrics 49 50[FORMAT] 51 52# Maximum number of characters on a single line. 53max-line-length=80 54 55[SIMILARITIES] 56 57# Ignore imports when computing similarities. 58ignore-imports=yes 59