You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.2 KiB
56 lines
1.2 KiB
4 months ago
|
[MESSAGES CONTROL]
|
||
|
|
||
|
disable=
|
||
|
# TODO(patricktu@):Remove "too-few-public-methods" when project_info.py ok.
|
||
|
too-few-public-methods,
|
||
|
# TODO(albaltai@):Remove "fixme" when each module implement finished.
|
||
|
fixme,
|
||
|
# More than 7 variables is reasonable in ModuleData class.
|
||
|
too-many-instance-attributes,
|
||
|
# Atest unittests requires below flags:
|
||
|
no-self-use,
|
||
|
duplicate-code
|
||
|
|
||
|
[MASTER]
|
||
|
|
||
|
init-hook='import sys, os; sys.path.append(os.getcwd() + '/atest')'
|
||
|
|
||
|
[BASIC]
|
||
|
|
||
|
# Naming hint for method names.
|
||
|
method-name-hint=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
|
||
|
|
||
|
# Regular expression matching correct method names.
|
||
|
method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$
|
||
|
|
||
|
# Good variable names which should always be accepted, separated by a comma.
|
||
|
good-names=e, f, i, j
|
||
|
|
||
|
[DESIGN]
|
||
|
|
||
|
# Maximum number of arguments for function/method.
|
||
|
max-args=6
|
||
|
|
||
|
# Maximum number of return/yield for function/method body.
|
||
|
max-returns=10
|
||
|
|
||
|
# Maximum number of public methods for a class (see R0904).
|
||
|
max-public-methods=40
|
||
|
|
||
|
[TYPECHECK]
|
||
|
|
||
|
ignored-modules=
|
||
|
# For sharing modules from atest project.
|
||
|
atest,
|
||
|
metrics
|
||
|
|
||
|
[FORMAT]
|
||
|
|
||
|
# Maximum number of characters on a single line.
|
||
|
max-line-length=80
|
||
|
|
||
|
[SIMILARITIES]
|
||
|
|
||
|
# Ignore imports when computing similarities.
|
||
|
ignore-imports=yes
|