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