fork von https://github.com/nilsnolde/OSMtools mit QGIS2 processing erweiterung
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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. [MASTER]
  2. # Specify a configuration file.
  3. #rcfile=
  4. # Python code to execute, usually for sys.path manipulation such as
  5. # pygtk.require().
  6. #init-hook=
  7. # Profiled execution.
  8. profile=no
  9. # Add files or directories to the blacklist. They should be base names, not
  10. # paths.
  11. ignore=CVS
  12. # Pickle collected data for later comparisons.
  13. persistent=yes
  14. # List of plugins (as comma separated values of python modules names) to load,
  15. # usually to register additional checkers.
  16. load-plugins=
  17. [MESSAGES CONTROL]
  18. # Enable the message, report, category or checker with the given id(s). You can
  19. # either give multiple identifier separated by comma (,) or put this option
  20. # multiple time. See also the "--disable" option for examples.
  21. #enable=
  22. # Disable the message, report, category or checker with the given id(s). You
  23. # can either give multiple identifiers separated by comma (,) or put this
  24. # option multiple times (only on the command line, not in the configuration
  25. # file where it should appear only once).You can also use "--disable=all" to
  26. # disable everything first and then reenable specific checks. For example, if
  27. # you want to run only the similarities checker, you can use "--disable=all
  28. # --enable=similarities". If you want to run only the classes checker, but have
  29. # no Warning level messages displayed, use"--disable=all --enable=classes
  30. # --disable=W"
  31. # see http://stackoverflow.com/questions/21487025/pylint-locally-defined-disables-still-give-warnings-how-to-suppress-them
  32. disable=locally-disabled,C0103
  33. [REPORTS]
  34. # Set the output format. Available formats are text, parseable, colorized, msvs
  35. # (visual studio) and html. You can also give a reporter class, eg
  36. # mypackage.mymodule.MyReporterClass.
  37. output-format=text
  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 whether 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. # respectively contain the number of errors / warnings messages and the total
  47. # number of statements analyzed. This is used by the global evaluation report
  48. # (RP0004).
  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 (RP0004).
  52. comment=no
  53. # Template used to display messages. This is a python new-style format string
  54. # used to format the message information. See doc for all details
  55. #msg-template=
  56. [BASIC]
  57. # Required attributes for module, separated by a comma
  58. required-attributes=
  59. # List of builtins function names that should not be used, separated by a comma
  60. bad-functions=map,filter,apply,input
  61. # Regular expression which should only match correct module names
  62. module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
  63. # Regular expression which should only match correct module level names
  64. const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
  65. # Regular expression which should only match correct class names
  66. class-rgx=[A-Z_][a-zA-Z0-9]+$
  67. # Regular expression which should only match correct function names
  68. function-rgx=[a-z_][a-z0-9_]{2,30}$
  69. # Regular expression which should only match correct method names
  70. method-rgx=[a-z_][a-z0-9_]{2,30}$
  71. # Regular expression which should only match correct instance attribute names
  72. attr-rgx=[a-z_][a-z0-9_]{2,30}$
  73. # Regular expression which should only match correct argument names
  74. argument-rgx=[a-z_][a-z0-9_]{2,30}$
  75. # Regular expression which should only match correct variable names
  76. variable-rgx=[a-z_][a-z0-9_]{2,30}$
  77. # Regular expression which should only match correct attribute names in class
  78. # bodies
  79. class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
  80. # Regular expression which should only match correct list comprehension /
  81. # generator expression variable names
  82. inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
  83. # Good variable names which should always be accepted, separated by a comma
  84. good-names=i,j,k,ex,Run,_
  85. # Bad variable names which should always be refused, separated by a comma
  86. bad-names=foo,bar,baz,toto,tutu,tata
  87. # Regular expression which should only match function or class names that do
  88. # not require a docstring.
  89. no-docstring-rgx=__.*__
  90. # Minimum line length for functions/classes that require docstrings, shorter
  91. # ones are exempt.
  92. docstring-min-length=-1
  93. [MISCELLANEOUS]
  94. # List of note tags to take in consideration, separated by a comma.
  95. notes=FIXME,XXX,TODO
  96. [TYPECHECK]
  97. # Tells whether missing members accessed in mixin class should be ignored. A
  98. # mixin class is detected if its name ends with "mixin" (case insensitive).
  99. ignore-mixin-members=yes
  100. # List of classes names for which member attributes should not be checked
  101. # (useful for classes with attributes dynamically set).
  102. ignored-classes=SQLObject
  103. # When zope mode is activated, add a predefined set of Zope acquired attributes
  104. # to generated-members.
  105. zope=no
  106. # List of members which are set dynamically and missed by pylint inference
  107. # system, and so shouldn't trigger E0201 when accessed. Python regular
  108. # expressions are accepted.
  109. generated-members=REQUEST,acl_users,aq_parent
  110. [VARIABLES]
  111. # Tells whether we should check for unused import in __init__ files.
  112. init-import=no
  113. # A regular expression matching the beginning of the name of dummy variables
  114. # (i.e. not used).
  115. dummy-variables-rgx=_$|dummy
  116. # List of additional names supposed to be defined in builtins. Remember that
  117. # you should avoid to define new builtins when possible.
  118. additional-builtins=
  119. [FORMAT]
  120. # Maximum number of characters on a single line.
  121. max-line-length=80
  122. # Regexp for a line that is allowed to be longer than the limit.
  123. ignore-long-lines=^\s*(# )?<?https?://\S+>?$
  124. # Allow the body of an if to be on the same line as the test if there is no
  125. # else.
  126. single-line-if-stmt=no
  127. # List of optional constructs for which whitespace checking is disabled
  128. no-space-check=trailing-comma,dict-separator
  129. # Maximum number of lines in a module
  130. max-module-lines=1000
  131. # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
  132. # tab).
  133. indent-string=' '
  134. [SIMILARITIES]
  135. # Minimum lines number of a similarity.
  136. min-similarity-lines=4
  137. # Ignore comments when computing similarities.
  138. ignore-comments=yes
  139. # Ignore docstrings when computing similarities.
  140. ignore-docstrings=yes
  141. # Ignore imports when computing similarities.
  142. ignore-imports=no
  143. [IMPORTS]
  144. # Deprecated modules which should not be used, separated by a comma
  145. deprecated-modules=regsub,TERMIOS,Bastion,rexec
  146. # Create a graph of every (i.e. internal and external) dependencies in the
  147. # given file (report RP0402 must not be disabled)
  148. import-graph=
  149. # Create a graph of external dependencies in the given file (report RP0402 must
  150. # not be disabled)
  151. ext-import-graph=
  152. # Create a graph of internal dependencies in the given file (report RP0402 must
  153. # not be disabled)
  154. int-import-graph=
  155. [DESIGN]
  156. # Maximum number of arguments for function / method
  157. max-args=5
  158. # Argument names that match this expression will be ignored. Default to name
  159. # with leading underscore
  160. ignored-argument-names=_.*
  161. # Maximum number of locals for function / method body
  162. max-locals=15
  163. # Maximum number of return / yield for function / method body
  164. max-returns=6
  165. # Maximum number of branch for function / method body
  166. max-branches=12
  167. # Maximum number of statements in function / method body
  168. max-statements=50
  169. # Maximum number of parents for a class (see R0901).
  170. max-parents=7
  171. # Maximum number of attributes for a class (see R0902).
  172. max-attributes=7
  173. # Minimum number of public methods for a class (see R0903).
  174. min-public-methods=2
  175. # Maximum number of public methods for a class (see R0904).
  176. max-public-methods=20
  177. [CLASSES]
  178. # List of interface methods to ignore, separated by a comma. This is used for
  179. # instance to not check methods defines in Zope's Interface base class.
  180. ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
  181. # List of method names used to declare (i.e. assign) instance attributes.
  182. defining-attr-methods=__init__,__new__,setUp
  183. # List of valid names for the first argument in a class method.
  184. valid-classmethod-first-arg=cls
  185. # List of valid names for the first argument in a metaclass class method.
  186. valid-metaclass-classmethod-first-arg=mcs
  187. [EXCEPTIONS]
  188. # Exceptions that will emit a warning when being caught. Defaults to
  189. # "Exception"
  190. overgeneral-exceptions=Exception