blob: 7631737ae65146e585ae815373b7000e1cfe5bc4 [file] [log] [blame]
albaltai3ab9ec62018-08-16 16:52:45 +08001[MESSAGES CONTROL]
2
3disable=
albaltai1d07adb2018-08-16 16:52:45 +08004 # TODO(patricktu@):Remove "too-few-public-methods" when project_info.py ok.
albaltai3ab9ec62018-08-16 16:52:45 +08005 too-few-public-methods,
albaltai1d07adb2018-08-16 16:52:45 +08006 # TODO(albaltai@):Remove "fixme" when each module implement finished.
patricktu147778a2018-08-23 21:36:01 +08007 fixme,
8 # More than 7 variables is reasonable in ModuleData class.
Jim Tangafbd8d62019-11-29 10:52:11 +08009 too-many-instance-attributes,
10 # Atest unittests requires below flags:
11 no-self-use,
12 duplicate-code
13
14[MASTER]
15
16init-hook='import sys, os; sys.path.append(os.getcwd() + '/atest')'
17
18[BASIC]
19
20# Naming hint for method names.
21method-name-hint=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
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[DESIGN]
30
31# Maximum number of arguments for function/method.
32max-args=6
33
34# Maximum number of return/yield for function/method body.
35max-returns=10
36
37# Maximum number of public methods for a class (see R0904).
38max-public-methods=40
albaltai3ab9ec62018-08-16 16:52:45 +080039
patricktu553bb1b2018-09-03 14:27:53 +080040[TYPECHECK]
41
42ignored-modules=
43 # For sharing modules from atest project.
patricktu8bbb55d2019-05-03 17:24:14 +080044 atest,
45 metrics
patricktu1f5560f2018-08-01 17:54:44 +080046
albaltai1d07adb2018-08-16 16:52:45 +080047[FORMAT]
patricktu147778a2018-08-23 21:36:01 +080048
albaltai1d07adb2018-08-16 16:52:45 +080049# Maximum number of characters on a single line.
50max-line-length=80
patricktu03acbaa2019-06-10 14:46:48 +080051
52[SIMILARITIES]
53
54# Ignore imports when computing similarities.
55ignore-imports=yes