pylintrc
changeset 11216 efecb78bf929
parent 0 b97547f5f1fa
child 11219 0796b6191cea
equal deleted inserted replaced
11215:4e79acdc36a6 11216:efecb78bf929
       
     1 [MASTER]
       
     2 load-plugins=cubicweb.pylintext
       
     3 
     1 [MESSAGES CONTROL]
     4 [MESSAGES CONTROL]
     2 disable-msg = C0301
     5 disable = too-many-ancestors,too-many-instance-attributes,too-many-public-methods,
       
     6       too-few-public-methods,too-many-arguments,import-error
     3 
     7 
     4 [VARIABLES]
     8 [VARIABLES]
     5 # Enable / disable this checker
     9 additional-builtins=_,display_name
     6 enable-variables = yes
       
     7 additional-builtins = _, display_name
       
     8 
    10 
     9 [BASIC]
    11 [BASIC]
    10 required-attributes=
       
    11 attr-rgx = (w|[a-z_][a-z0-9_]{2,30})
    12 attr-rgx = (w|[a-z_][a-z0-9_]{2,30})
    12 variable-rgx = (w|[a-z_][a-z0-9_]{2,30})$
    13 variable-rgx = (w|[a-z_][a-z0-9_]{2,30})$
    13 argument-rgx = (w|[a-z_][a-z0-9_]{2,30})$
    14 argument-rgx = (w|[a-z_][a-z0-9_]{2,30})$
       
    15 good-names=w,_
    14 
    16 
    15 [TYPECHECK]
    17 [TYPECHECK]
    16 generated-members=debug,info,notice,warning,error,critical,exception
    18 generated-members=debug,info,notice,warning,error,critical,exception
       
    19 
       
    20 [CLASSES]
       
    21 exclude-protected=_cw,_cnx,
       
    22       # namedtuple public API.
       
    23       _asdict,_fields,_replace,_source,_make
       
    24 
       
    25 
       
    26 [FORMAT]
       
    27 max-line-length=100
       
    28 max-module-lines=2000