mikehoran | 63d61b4 | 2017-07-28 15:28:50 -0700 | [diff] [blame] | 1 | [MESSAGES CONTROL] |
| 2 | |
| 3 | disable=relative-import,too-few-public-methods,fixme |
| 4 | |
| 5 | [BASIC] |
| 6 | |
| 7 | # Naming hint for method names |
mikehoran | be9102f | 2017-08-04 16:04:03 -0700 | [diff] [blame] | 8 | method-name-hint=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$ |
mikehoran | 63d61b4 | 2017-07-28 15:28:50 -0700 | [diff] [blame] | 9 | |
| 10 | # Regular expression matching correct method names |
mikehoran | be9102f | 2017-08-04 16:04:03 -0700 | [diff] [blame] | 11 | method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$ |
mikehoran | 3622d9a | 2017-09-20 15:43:54 -0700 | [diff] [blame] | 12 | |
| 13 | [DESIGN] |
mikehoran | 95091b2 | 2017-10-31 15:55:26 -0700 | [diff] [blame] | 14 | |
mikehoran | 3622d9a | 2017-09-20 15:43:54 -0700 | [diff] [blame] | 15 | # Maximum number of return / yield for function / method body |
| 16 | max-returns=10 |
mikehoran | 95091b2 | 2017-10-31 15:55:26 -0700 | [diff] [blame] | 17 | |
| 18 | # Maximum number of public methods for a class (see R0904). |
| 19 | max-public-methods=40 |
| 20 | |
| 21 | # Maximum number of attributes for a class (see R0902). |
| 22 | max-attributes=20 |
Kevin Cheng | 8b2c94c | 2017-12-18 14:43:26 -0800 | [diff] [blame] | 23 | |
| 24 | [SIMILARITIES] |
| 25 | |
| 26 | # Ignore similar imports. |
| 27 | ignore-imports=y |