• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    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
39
40[TYPECHECK]
41
42ignored-modules=
43    # For sharing modules from atest project.
44    atest,
45    metrics
46
47[FORMAT]
48
49# Maximum number of characters on a single line.
50max-line-length=80
51
52[SIMILARITIES]
53
54# Ignore imports when computing similarities.
55ignore-imports=yes
56