|
| 1 | +[MESSAGES CONTROL] |
| 2 | +disable= |
| 3 | + arguments-differ, |
| 4 | + invalid-name, |
| 5 | + |
| 6 | +[FORMAT] |
| 7 | +# Regexp for a line that is allowed to be longer than the limit. |
| 8 | +ignore-long-lines=\bhttps?://\S |
| 9 | +# Maximum number of characters on a single line. |
| 10 | +max-line-length=100 |
| 11 | + |
| 12 | +[DESIGN] |
| 13 | +# Maximum number of arguments for function / method |
| 14 | +max-args=10 |
| 15 | +# Argument names that match this expression will be ignored. Default to name |
| 16 | +# with leading underscore |
| 17 | +ignored-argument-names=args|kwargs|_.* |
| 18 | +# Maximum number of locals for function / method body |
| 19 | +max-locals=25 |
| 20 | +# Maximum number of return / yield for function / method body |
| 21 | +max-returns=6 |
| 22 | +# Maximum number of branch for function / method body |
| 23 | +max-branches=20 |
| 24 | +# Maximum number of statements in function / method body |
| 25 | +max-statements=50 |
| 26 | +# Maximum number of parents for a class (see R0901). |
| 27 | +max-parents=7 |
| 28 | +# Maximum number of attributes for a class (see R0902). |
| 29 | +max-attributes=40 |
| 30 | +# Minimum number of public methods for a class (see R0903). |
| 31 | +min-public-methods=0 |
| 32 | +# Maximum number of public methods for a class (see R0904). |
| 33 | +max-public-methods=60 |
| 34 | + |
| 35 | +[SIMILARITIES] |
| 36 | +# checks for similarities and duplicated code. This computation may be |
| 37 | +# memory / CPU intensive, so you should disable it if you experiments some |
| 38 | +# problems. |
| 39 | + |
| 40 | +# Minimum lines number of a similarity. |
| 41 | +min-similarity-lines=25 |
| 42 | +# Ignore comments when computing similarities. |
| 43 | +ignore-comments=yes |
| 44 | +# Ignore docstrings when computing similarities. |
| 45 | +ignore-docstrings=yes |
| 46 | + |
| 47 | +[TYPECHECK] |
| 48 | +# List of classes names for which member attributes should not be checked |
| 49 | +# (useful for classes with attributes dynamically set). |
| 50 | + |
| 51 | +# as of numpy 1.8.0, name resolution seems to be a problem. Ignore lookups in numpy |
| 52 | +# ignored-classes=numpy,list |
0 commit comments