Advertisement
Guest User

Untitled

a guest
May 5th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. [MASTER]
  2.  
  3. # Specify a configuration file.
  4. #rcfile=
  5.  
  6. # Python code to execute, usually for sys.path manipulation such as
  7. # pygtk.require().
  8. #init-hook=
  9.  
  10. # Profiled execution.
  11. profile=no
  12.  
  13. # Add files or directories to the blacklist. They should be base names, not
  14. # paths.
  15. ignore=CVS
  16.  
  17. # Pickle collected data for later comparisons.
  18. persistent=yes
  19.  
  20. # List of plugins (as comma separated values of python modules names) to load,
  21. # usually to register additional checkers.
  22. load-plugins=
  23.  
  24.  
  25. [MESSAGES CONTROL]
  26.  
  27. # Enable the message, report, category or checker with the given id(s). You can
  28. # either give multiple identifier separated by comma (,) or put this option
  29. # multiple time.
  30. #enable=
  31.  
  32. # Disable the message, report, category or checker with the given id(s). You
  33. # can either give multiple identifier separated by comma (,) or put this option
  34. # multiple time (only on the command line, not in the configuration file where
  35. # it should appear only once).
  36. #disable=
  37.  
  38.  
  39. [REPORTS]
  40.  
  41. # Set the output format. Available formats are text, parseable, colorized, msvs
  42. # (visual studio) and html
  43. output-format=text
  44.  
  45. # Include message's id in output
  46. include-ids=no
  47.  
  48. # Put messages in a separate file for each module / package specified on the
  49. # command line instead of printing them on stdout. Reports (if any) will be
  50. # written in a file name "pylint_global.[txt|html]".
  51. files-output=no
  52.  
  53. # Tells whether to display a full report or only the messages
  54. reports=yes
  55.  
  56. # Python expression which should return a note less than 10 (10 is the highest
  57. # note). You have access to the variables errors warning, statement which
  58. # respectively contain the number of errors / warnings messages and the total
  59. # number of statements analyzed. This is used by the global evaluation report
  60. # (RP0004).
  61. evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
  62.  
  63. # Add a comment according to your evaluation note. This is used by the global
  64. # evaluation report (RP0004).
  65. comment=no
  66.  
  67.  
  68. [VARIABLES]
  69.  
  70. # Tells whether we should check for unused import in __init__ files.
  71. init-import=yes
  72.  
  73. # A regular expression matching the beginning of the name of dummy variables
  74. # (i.e. not used).
  75. dummy-variables-rgx=_|dummy
  76.  
  77. # List of additional names supposed to be defined in builtins. Remember that
  78. # you should avoid to define new builtins when possible.
  79. additional-builtins=
  80.  
  81.  
  82. [BASIC]
  83.  
  84. # Required attributes for module, separated by a comma
  85. required-attributes=
  86.  
  87. # List of builtins function names that should not be used, separated by a comma
  88. bad-functions=map,filter,apply,input
  89.  
  90. # Regular expression which should only match correct module names
  91. module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
  92.  
  93. # Regular expression which should only match correct module level names
  94. const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
  95.  
  96. # Regular expression which should only match correct class names
  97. class-rgx=[A-Z_][a-zA-Z0-9]+$
  98.  
  99. # Regular expression which should only match correct function names
  100. function-rgx=[a-z_][a-zA-Z0-9_]{2,30}$
  101.  
  102. # Regular expression which should only match correct method names
  103. method-rgx=[a-z_][a-zA-Z0-9_]{2,30}$
  104.  
  105. # Regular expression which should only match correct instance attribute names
  106. attr-rgx=[a-z_][a-zA-Z0-9_]{2,30}$
  107.  
  108. # Regular expression which should only match correct argument names
  109. argument-rgx=[a-z_][a-zA-Z0-9_]{2,30}$
  110.  
  111. # Regular expression which should only match correct variable names
  112. variable-rgx=[a-z_][a-zA-Z0-9_]{2,30}$|[a-z]
  113.  
  114. # Regular expression which should only match correct list comprehension /
  115. # generator expression variable names
  116. inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
  117.  
  118. # Good variable names which should always be accepted, separated by a comma
  119. good-names=i,j,_,x,y,z,N,E,S,W
  120.  
  121. # Bad variable names which should always be refused, separated by a comma
  122. bad-names=foo,bar,baz,toto,tutu,tata
  123.  
  124. # Regular expression which should only match functions or classes name which do
  125. # not require a docstring
  126. no-docstring-rgx=__.*__
  127.  
  128.  
  129. [MISCELLANEOUS]
  130.  
  131. # List of note tags to take in consideration, separated by a comma.
  132. notes=FIXME,TODO
  133.  
  134. # general regexp for convention, warning etc. would be great
  135.  
  136. [TYPECHECK]
  137.  
  138. # Tells whether missing members accessed in mixin class should be ignored. A
  139. # mixin class is detected if its name ends with "mixin" (case insensitive).
  140. ignore-mixin-members=yes
  141.  
  142. # List of classes names for which member attributes should not be checked
  143. # (useful for classes with attributes dynamically set).
  144. ignored-classes=SQLObject
  145.  
  146. # When zope mode is activated, add a predefined set of Zope acquired attributes
  147. # to generated-members.
  148. zope=no
  149.  
  150. # List of members which are set dynamically and missed by pylint inference
  151. # system, and so shouldn't trigger E0201 when accessed. Python regular
  152. # expressions are accepted.
  153. generated-members=REQUEST,acl_users,aq_parent
  154.  
  155.  
  156. [FORMAT]
  157.  
  158. # Maximum number of characters on a single line.
  159. max-line-length=80
  160.  
  161. # Maximum number of lines in a module
  162. max-module-lines=1000
  163.  
  164. # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
  165. # tab).
  166. indent-string=' '
  167.  
  168.  
  169. [SIMILARITIES]
  170.  
  171. # Minimum lines number of a similarity.
  172. min-similarity-lines=4
  173.  
  174. # Ignore comments when computing similarities.
  175. ignore-comments=yes
  176.  
  177. # Ignore docstrings when computing similarities.
  178. ignore-docstrings=yes
  179.  
  180.  
  181. [DESIGN]
  182.  
  183. # Maximum number of arguments for function / method
  184. max-args=5
  185.  
  186. # Argument names that match this expression will be ignored. Default to name
  187. # with leading underscore
  188. ignored-argument-names=_.*
  189.  
  190. # Maximum number of locals for function / method body
  191. max-locals=15
  192.  
  193. # Maximum number of return / yield for function / method body
  194. max-returns=6
  195.  
  196. # Maximum number of branch for function / method body
  197. max-branchs=12
  198.  
  199. # Maximum number of statements in function / method body
  200. max-statements=50
  201.  
  202. # Maximum number of parents for a class (see R0901).
  203. max-parents=7
  204.  
  205. # Maximum number of attributes for a class (see R0902).
  206. max-attributes=7
  207.  
  208. # Minimum number of public methods for a class (see R0903).
  209. min-public-methods=2
  210.  
  211. # Maximum number of public methods for a class (see R0904).
  212. max-public-methods=20
  213.  
  214.  
  215. [IMPORTS]
  216.  
  217. # Deprecated modules which should not be used, separated by a comma
  218. deprecated-modules=regsub,string,TERMIOS,Bastion,rexec
  219.  
  220. # Create a graph of every (i.e. internal and external) dependencies in the
  221. # given file (report RP0402 must not be disabled)
  222. import-graph=
  223.  
  224. # Create a graph of external dependencies in the given file (report RP0402 must
  225. # not be disabled)
  226. ext-import-graph=
  227.  
  228. # Create a graph of internal dependencies in the given file (report RP0402 must
  229. # not be disabled)
  230. int-import-graph=
  231.  
  232.  
  233. [CLASSES]
  234.  
  235. # List of interface methods to ignore, separated by a comma. This is used for
  236. # instance to not check methods defines in Zope's Interface base class.
  237. ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
  238.  
  239. # List of method names used to declare (i.e. assign) instance attributes.
  240. defining-attr-methods=__init__,__new__,setUp
  241.  
  242. # List of valid names for the first argument in a class method.
  243. valid-classmethod-first-arg=cls
  244.  
  245.  
  246. [EXCEPTIONS]
  247.  
  248. # Exceptions that will emit a warning when being caught. Defaults to
  249. # "Exception"
  250. overgeneral-exceptions=Exception
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement