| [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: |
| duplicate-code, |
| consider-using-f-string |
| |
| [MASTER] |
| |
| init-hook='import sys, os; sys.path.append(os.getcwd())' |
| |
| [BASIC] |
| |
| # 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 |
| |
| # Naming style for methods |
| method-naming-style=snake_case |
| |
| [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 |