mikehoran | 63d61b4 | 2017-07-28 15:28:50 -0700 | [diff] [blame] | 1 | [MESSAGES CONTROL] |
| 2 | |
Dan Shi | 6daad63 | 2018-08-30 10:58:03 -0700 | [diff] [blame] | 3 | disable= |
| 4 | relative-import, |
| 5 | too-few-public-methods, |
| 6 | too-many-instance-attributes, |
| 7 | fixme,no-self-use, |
| 8 | duplicate-code |
mikehoran | 63d61b4 | 2017-07-28 15:28:50 -0700 | [diff] [blame] | 9 | |
kellyhung | 792fbcf | 2018-11-19 16:25:50 +0800 | [diff] [blame] | 10 | [MASTER] |
| 11 | |
| 12 | init-hook='import sys, os; sys.path.append(os.getcwd() + '/atest')' |
| 13 | |
mikehoran | 63d61b4 | 2017-07-28 15:28:50 -0700 | [diff] [blame] | 14 | [BASIC] |
| 15 | |
| 16 | # Naming hint for method names |
mikehoran | be9102f | 2017-08-04 16:04:03 -0700 | [diff] [blame] | 17 | method-name-hint=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$ |
mikehoran | 63d61b4 | 2017-07-28 15:28:50 -0700 | [diff] [blame] | 18 | |
| 19 | # Regular expression matching correct method names |
mikehoran | be9102f | 2017-08-04 16:04:03 -0700 | [diff] [blame] | 20 | method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$ |
mikehoran | 3622d9a | 2017-09-20 15:43:54 -0700 | [diff] [blame] | 21 | |
nelsonli | c4a7145 | 2018-09-13 14:10:30 +0800 | [diff] [blame] | 22 | # Good variable names which should always be accepted, separated by a comma |
| 23 | good-names=e, f, i, j |
| 24 | |
mikehoran | 3622d9a | 2017-09-20 15:43:54 -0700 | [diff] [blame] | 25 | [DESIGN] |
mikehoran | 95091b2 | 2017-10-31 15:55:26 -0700 | [diff] [blame] | 26 | |
kellyhung | aa0d0c7 | 2018-09-11 19:44:04 +0800 | [diff] [blame] | 27 | # Maximum number of arguments for function / method |
| 28 | max-args=6 |
| 29 | |
mikehoran | 3622d9a | 2017-09-20 15:43:54 -0700 | [diff] [blame] | 30 | # Maximum number of return / yield for function / method body |
| 31 | max-returns=10 |
mikehoran | 95091b2 | 2017-10-31 15:55:26 -0700 | [diff] [blame] | 32 | |
| 33 | # Maximum number of public methods for a class (see R0904). |
| 34 | max-public-methods=40 |
| 35 | |
Kevin Cheng | 8b2c94c | 2017-12-18 14:43:26 -0800 | [diff] [blame] | 36 | [SIMILARITIES] |
| 37 | |
| 38 | # Ignore similar imports. |
| 39 | ignore-imports=y |