• 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    consider-using-f-string
14
15[MASTER]
16
17init-hook='import sys, os; sys.path.append(os.getcwd() + '/atest')'
18
19[BASIC]
20
21# Naming hint for method names.
22method-name-hint=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
23
24# Regular expression matching correct method names.
25method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
26
27# Good variable names which should always be accepted, separated by a comma.
28good-names=e, f, i, j
29
30[DESIGN]
31
32# Maximum number of arguments for function/method.
33max-args=6
34
35# Maximum number of return/yield for function/method body.
36max-returns=10
37
38# Maximum number of public methods for a class (see R0904).
39max-public-methods=40
40
41[TYPECHECK]
42
43ignored-modules=
44    # For sharing modules from atest project.
45    atest,
46    metrics
47
48[FORMAT]
49
50# Maximum number of characters on a single line.
51max-line-length=80
52
53[SIMILARITIES]
54
55# Ignore imports when computing similarities.
56ignore-imports=yes
57