A fork of hyde, the static site generation. Some patches will be pushed upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

267 lines
7.8 KiB

  1. [MASTER]
  2. # Profiled execution.
  3. profile=no
  4. # Add <file or directory> to the black list. It should be a base name, not a
  5. # path. You may set this option multiple times.
  6. #ignore=.svn
  7. # Pickle collected data for later comparisons.
  8. persistent=yes
  9. # Set the cache size for astng objects.
  10. cache-size=500
  11. # List of plugins (as comma separated values of python modules names) to load,
  12. # usually to register additional checkers.
  13. load-plugins=
  14. [MESSAGES CONTROL]
  15. # Enable only checker(s) with the given id(s). This option conflicts with the
  16. # disable-checker option
  17. #enable-checker=
  18. # Enable all checker(s) except those with the given id(s). This option
  19. # conflicts with the enable-checker option
  20. #disable-checker=design
  21. # Enable all messages in the listed categories.
  22. #enable-msg-cat=
  23. # Disable all messages in the listed categories.
  24. #disable-msg-cat=
  25. # Enable the message(s) with the given id(s).
  26. #enable-msg=
  27. # Disable the message(s) with the given id(s).
  28. # List of all available ids: http://www.logilab.org/card/pylintfeatures
  29. # Disabled messages:
  30. # I0011: Locally disabling %s Used when an inline option disable a message or a messages category.
  31. disable-msg=I0011
  32. [REPORTS]
  33. # set the output format. Available formats are text, parseable, colorized, msvs
  34. # (visual studio) and html
  35. output-format=text
  36. # Include message's id in output
  37. include-ids=yes
  38. # Put messages in a separate file for each module / package specified on the
  39. # command line instead of printing them on stdout. Reports (if any) will be
  40. # written in a file name "pylint_global.[txt|html]".
  41. files-output=no
  42. # Tells wether to display a full report or only the messages
  43. reports=yes
  44. # Python expression which should return a note less than 10 (10 is the highest
  45. # note).You have access to the variables errors warning, statement which
  46. # respectivly contain the number of errors / warnings messages and the total
  47. # number of statements analyzed. This is used by the global evaluation report
  48. # (R0004).
  49. evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
  50. # Add a comment according to your evaluation note. This is used by the global
  51. # evaluation report (R0004).
  52. comment=no
  53. # Enable the report(s) with the given id(s).
  54. #enable-report=
  55. # Disable the report(s) with the given id(s).
  56. #disable-report=
  57. # checks for :
  58. # * doc strings
  59. # * modules / classes / functions / methods / arguments / variables name
  60. # * number of arguments, local variables, branchs, returns and statements in
  61. # functions, methods
  62. # * required module attributes
  63. # * dangerous default values as arguments
  64. # * redefinition of function / method / class
  65. # * uses of the global statement
  66. #
  67. [BASIC]
  68. # Required attributes for module, separated by a comma
  69. required-attributes=
  70. # Regular expression which should only match functions or classes name which do
  71. # not require a docstring
  72. no-docstring-rgx=__.*__
  73. # Regular expression which should only match correct module names
  74. module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
  75. # Regular expression which should only match correct module level names
  76. const-rgx=(([A-Z_][A-Z1-9_]*)|(__.*__)|([a-z_][a-z0-9_]*))$
  77. # Regular expression which should only match correct class names
  78. class-rgx=[_a-zA-Z0-9]+$
  79. # Regular expression which should only match correct function names
  80. function-rgx=[a-z_][a-zA-Z0-9_]{2,40}$
  81. # Regular expression which should only match correct method names
  82. method-rgx=[a-z_][a-zA-Z0-9_]{2,40}$
  83. # Regular expression which should only match correct instance attribute names
  84. attr-rgx=[a-z_][a-z0-9_]{1,30}$
  85. #alternative
  86. #attr-rgx=([a-z_][a-z0-9_]{2,30}|([a-z_][a-zA-Z0-9]{2,30}))$
  87. # Regular expression which should only match correct argument names
  88. argument-rgx=[a-z_][a-z0-9_]{1,30}$
  89. # Regular expression which should only match correct variable names
  90. variable-rgx=[a-z_][a-zA-Z0-9_]{1,30}$
  91. # Regular expression which should only match correct list comprehension /
  92. # generator expression variable names
  93. inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
  94. # Good variable names which should always be accepted, separated by a comma
  95. good-names=i,j,k,ex,Run,_
  96. # Bad variable names which should always be refused, separated by a comma
  97. bad-names=foo,bar,baz,toto,tutu,tata
  98. # List of builtins function names that should not be used, separated by a comma
  99. bad-functions=
  100. # try to find bugs in the code using type inference
  101. #
  102. [TYPECHECK]
  103. # Tells wether missing members accessed in mixin class should be ignored. A
  104. # mixin class is detected if its name ends with "mixin" (case insensitive).
  105. ignore-mixin-members=yes
  106. # List of classes names for which member attributes should not be checked
  107. # (useful for classes with attributes dynamicaly set).
  108. ignored-classes=SQLObject
  109. # When zope mode is activated, consider the acquired-members option to ignore
  110. # access to some undefined attributes.
  111. zope=no
  112. # List of members which are usually get through zope's acquisition mecanism and
  113. # so shouldn't trigger E0201 when accessed (need zope=yes to be considered).
  114. acquired-members=REQUEST,acl_users,aq_parent
  115. # checks for
  116. # * unused variables / imports
  117. # * undefined variables
  118. # * redefinition of variable from builtins or from an outer scope
  119. # * use of variable before assigment
  120. #
  121. [VARIABLES]
  122. # Tells wether we should check for unused import in __init__ files.
  123. init-import=no
  124. # A regular expression matching names used for dummy variables (i.e. not used).
  125. dummy-variables-rgx=_|dummy
  126. # List of additional names supposed to be defined in builtins. Remember that
  127. # you should avoid to define new builtins when possible.
  128. additional-builtins=
  129. # checks for :
  130. # * methods without self as first argument
  131. # * overridden methods signature
  132. # * access only to existant members via self
  133. # * attributes not defined in the __init__ method
  134. # * supported interfaces implementation
  135. # * unreachable code
  136. #
  137. [CLASSES]
  138. # List of interface methods to ignore, separated by a comma. This is used for
  139. # instance to not check methods defines in Zope's Interface base class.
  140. ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
  141. # List of method names used to declare (i.e. assign) instance attributes.
  142. defining-attr-methods=__init__,__new__,setUp
  143. # checks for
  144. # * external modules dependencies
  145. # * relative / wildcard imports
  146. # * cyclic imports
  147. # * uses of deprecated modules
  148. #
  149. [IMPORTS]
  150. # Deprecated modules which should not be used, separated by a comma
  151. deprecated-modules=regsub,string,TERMIOS,Bastion,rexec
  152. # Create a graph of every (i.e. internal and external) dependencies in the
  153. # given file (report R0402 must not be disabled)
  154. import-graph=
  155. # Create a graph of external dependencies in the given file (report R0402 must
  156. # not be disabled)
  157. ext-import-graph=
  158. # Create a graph of internal dependencies in the given file (report R0402 must
  159. # not be disabled)
  160. int-import-graph=
  161. # checks for :
  162. # * unauthorized constructions
  163. # * strict indentation
  164. # * line length
  165. # * use of <> instead of !=
  166. #
  167. [FORMAT]
  168. # Maximum number of characters on a single line.
  169. max-line-length=120
  170. # Maximum number of lines in a module
  171. max-module-lines=1000
  172. # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
  173. # tab).
  174. #indent-string=' '
  175. # checks for:
  176. # * warning notes in the code like TODO
  177. # * PEP 263: source code with non ascii character but no encoding declaration
  178. #
  179. [MISCELLANEOUS]
  180. # List of note tags to take in consideration, separated by a comma.
  181. notes=TODO
  182. # checks for similarities and duplicated code. This computation may be
  183. # memory / CPU intensive, so you should disable it if you experiments some
  184. # problems.
  185. #
  186. [SIMILARITIES]
  187. # Minimum lines number of a similarity.
  188. min-similarity-lines=4
  189. # Ignore comments when computing similarities.
  190. ignore-comments=yes
  191. # Ignore docstrings when computing similarities.
  192. ignore-docstrings=yes