Skip to content
Snippets Groups Projects
Select Git revision
  • 584172ca760be48dcdb2cc2117d950e5d17f08ed
  • master default protected
  • spahan-merge
  • spahan
  • v1.8-rc1
  • v1.7
  • v1.6.3
  • v1.6.2
  • v1.6.1
  • v1.6
  • v1.5.1
  • v1.5
  • v1.4a
  • v1.3
  • v1.2
  • v1.1
  • v1.0
17 results

.pylintrc

Blame
  • .pylintrc 1.91 KiB
    [MASTER]
    profile=no
    ignore=CVS
    persistent=no
    load-plugins=
    
    [MESSAGES CONTROL]
    
    [REPORTS]
    output-format=colorized
    include-ids=no
    files-output=no
    reports=no
    evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
    comment=no
    
    [BASIC]
    required-attributes=
    bad-functions=map,filter,apply,input
    module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
    const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
    class-rgx=[A-Z_][a-zA-Z0-9]+$
    function-rgx=[a-z_][a-z0-9_]{2,30}$
    method-rgx=[A-Z_][A-Za-z0-9_]{2,40}$
    attr-rgx=[a-z_][a-z0-9_]{2,30}$
    argument-rgx=[a-z_][a-z0-9_]{2,30}$
    # Regular expression which should only match correct variable names
    # Note: s/2/1/ to allow two char var names.
    variable-rgx=[a-z_][a-z0-9_]{1,30}$
    inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
    good-names=i,j,k,ex,f,fn,Run,_
    bad-names=foo,bar,baz,toto,tutu,tata
    no-docstring-rgx=__.*__
    
    [FORMAT]
    max-line-length=80
    max-module-lines=5000
    indent-string='  '
    
    [MISCELLANEOUS]
    notes=FIXME,XXX,TODO
    
    [SIMILARITIES]
    min-similarity-lines=4
    ignore-comments=yes
    ignore-docstrings=yes
    
    [TYPECHECK]
    ignore-mixin-members=yes
    ignored-classes=SQLObject
    zope=no
    generated-members=REQUEST,acl_users,aq_parent
    
    [VARIABLES]
    init-import=no
    dummy-variables-rgx=_|dummy|unused
    additional-builtins=
    
    [CLASSES]
    ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
    defining-attr-methods=__init__,__new__,setUp
    valid-classmethod-first-arg=cls
    
    [DESIGN]
    max-args=5
    ignored-argument-names=_.*
    max-locals=15
    max-returns=6
    max-branchs=12
    max-statements=50