|
| 1 | +[MASTER] |
| 2 | +profile=no |
| 3 | +persistent=yes |
| 4 | +ignore= |
| 5 | +cache-size=500 |
| 6 | + |
| 7 | +[REPORTS] |
| 8 | +output-format=text |
| 9 | +files-output=no |
| 10 | +reports=yes |
| 11 | + |
| 12 | +[BASIC] |
| 13 | +no-docstring-rgx=__.*__|_.* |
| 14 | +class-rgx=[A-Z_][a-zA-Z0-9_]+$ |
| 15 | +function-rgx=[a-zA_][a-zA-Z0-9_]{2,70}$ |
| 16 | +method-rgx=[a-z_][a-zA-Z0-9_]{2,70}$ |
| 17 | +const-rgx=(([A-Z_][A-Z0-9_]*)|([a-z_][a-z0-9_]*)|(__.*__)|register|urlpatterns)$ |
| 18 | +good-names=_,i,j,k,e,qs,pk,setUp,tearDown,el,ns,fd,js |
| 19 | + |
| 20 | +[TYPECHECK] |
| 21 | + |
| 22 | +# Tells whether missing members accessed in mixin class should be ignored. A |
| 23 | +# mixin class is detected if its name ends with "mixin" (case insensitive). |
| 24 | +ignore-mixin-members=yes |
| 25 | + |
| 26 | +# List of module names for which member attributes should not be checked |
| 27 | +# (useful for modules/projects where namespaces are manipulated during runtime |
| 28 | +# and thus extisting member attributes cannot be deduced by static analysis |
| 29 | +ignored-modules= |
| 30 | + |
| 31 | +# List of classes names for which member attributes should not be checked |
| 32 | +# (useful for classes with attributes dynamically set). |
| 33 | +ignored-classes=SQLObject,WSGIRequest |
| 34 | + |
| 35 | +# When zope mode is activated, add a predefined set of Zope acquired attributes |
| 36 | +# to generated-members. |
| 37 | +zope=no |
| 38 | + |
| 39 | +# List of members which are set dynamically and missed by pylint inference |
| 40 | +# system, and so shouldn't trigger E0201 when accessed. |
| 41 | +generated-members=objects,DoesNotExist,id,pk,_meta,base_fields,context,views,save |
| 42 | + |
| 43 | +# List of method names used to declare (i.e. assign) instance attributes |
| 44 | +defining-attr-methods=__init__,__new__,setUp |
| 45 | + |
| 46 | +[VARIABLES] |
| 47 | +init-import=no |
| 48 | +dummy-variables-rgx=_|dummy |
| 49 | + |
| 50 | +[SIMILARITIES] |
| 51 | +min-similarity-lines=6 |
| 52 | +ignore-comments=yes |
| 53 | +ignore-docstrings=yes |
| 54 | +[MISCELLANEOUS] |
| 55 | +notes=FIXME,XXX,TODO |
| 56 | + |
| 57 | +[FORMAT] |
| 58 | +max-line-length=160 |
| 59 | +max-module-lines=500 |
| 60 | +indent-string=' ' |
| 61 | +indent-after-paren=4 |
| 62 | + |
| 63 | +[DESIGN] |
| 64 | +max-args=10 |
| 65 | +max-locals=15 |
| 66 | +max-returns=6 |
| 67 | +max-branchs=12 |
| 68 | +max-statements=50 |
| 69 | +max-parents=10 |
| 70 | +max-attributes=10 |
| 71 | +min-public-methods=0 |
| 72 | +max-public-methods=100 |
| 73 | + |
0 commit comments