-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpylintrc
84 lines (72 loc) · 1.94 KB
/
pylintrc
1
# Configuration file for pylint (http://www.logilab.org/project/pylint). See# http://www.logilab.org/card/pylintfeatures for more detailed variable# descriptions.[MASTER]profile = noignore =persistent = nocache-size = 50000load-plugins =[MESSAGES CONTROL]# Disable the message(s) with the given id(s).# W0142: Used * or * magic* Used when a function or method is called using *args or **kwargs# to dispatch arguments. This doesn't improve readility and should be used with care.disable-msg=W0142[REPORTS]output-format = colorizedinclude-ids = nofiles-output = noreports = noevaluation = 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)comment = yes[BASIC]required-attributes =no-docstring-rgx = __.*__module-rgx = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$const-rgx = ((_{0,2}[A-Z][A-Z0-9_]*)|(__.*__))$class-rgx = _?[A-Z][a-zA-Z0-9]+$function-rgx = (_?([A-Z]+[a-z0-9]+([A-Z]+[a-z0-9]*)*)|main)$method-rgx = (_{0,2}[A-Z]+[a-z0-9]+([A-Z]+[a-z0-9]*)*|__.*__)$attr-rgx = [a-z_][a-z0-9_]{1,30}$argument-rgx = [a-z_][a-z0-9_]*$variable-rgx = (_?([a-z_][a-z0-9_]*)|([A-Z0-9_]+))$inlinevar-rgx = [A-Za-z_][A-Za-z0-9_]*$good-names = i,j,k,_bad-names = foo,bar,baz,toto,tutu,tatabad-functions =[TYPECHECK]ignore-mixin-members = yeszope = noacquired-members =[VARIABLES]init-import = nodummy-variables-rgx = _additional-builtins =[CLASSES]ignore-iface-methods =defining-attr-methods = __init__,__new__,setUp[DESIGN]max-args = 6max-locals = 15max-returns = 6max-branchs = 12max-statements = 50max-parents = 7max-attributes = 7min-public-methods = 2max-public-methods = 20[IMPORTS]deprecated-modules = regsub,string,TERMIOS,Bastion,rexecimport-graph =ext-import-graph =int-import-graph =[FORMAT]max-line-length = 80max-module-lines = 1000indent-string = " "[MISCELLANEOUS]notes = FIXME,XXX,TODO[SIMILARITIES]min-similarity-lines = 4ignore-comments = yesignore-docstrings = yes