fork https://github.com/3liz/quickosm mit kleinen fixes fuer qgis2
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.

pylintrc 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. [MESSAGES CONTROL]
  2. # Disable the message, report, category or checker with the given id(s). You
  3. # can either give multiple identifier separated by comma (,) or put this option
  4. # multiple time (only on the command line, not in the configuration file where
  5. # it should appear only once).
  6. disable=R,I,W0404,W0142,W0201,W0212,W0231,W0232,W0403,W0511,E0611,E1103,E1101,C0103,C0111,C0302,W1201,C0325,C1001,super-on-old-class,unpacking-non-sequence
  7. # Note W0404 should only be disabled on Ole's home computer running pylint
  8. # version
  9. #disable=R,I,W0142,W0201,W0212,W0231,W0232,W0403,W0404,W0511,E1103,E1101,C0103,C0111,C0302
  10. #pylint 0.23.0,
  11. #astng 0.21.1, common 0.55.0
  12. #Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
  13. #[GCC 4.5.2]
  14. # disable=R,C,I,W1201,W0142,W0201,W0212,W0231,W0232,W0403,W0404,W0511,E1103,E1101,C0103,C0111,C0302,W1201,W0622
  15. # Enable the message, report, category or checker with the given id(s). You can
  16. # either give multiple identifier separated by comma (,) or put this option
  17. # multiple time.
  18. enable=
  19. [MASTER]
  20. # Specify a configuration file.
  21. #rcfile=
  22. # Python code to execute, usually for sys.path manipulation such as
  23. # pygtk.require().
  24. #init-hook=
  25. # Profiled execution.
  26. profile=no
  27. # Add files or directories to the blacklist. They should be base names, not
  28. # paths.
  29. ignore=resources_rc.py,main_window.py,my_queries.py,osm_file.py,save_query.py,query.py,quick_query.py
  30. # Pickle collected data for later comparisons.
  31. persistent=yes
  32. # List of plugins (as comma separated values of python modules names) to load,
  33. # usually to register additional checkers.
  34. load-plugins=
  35. [REPORTS]
  36. # Set the output format. Available formats are text, parseable, colorized, msvs
  37. # (visual studio) and html
  38. output-format=text
  39. # Include message's id in output
  40. # this option is now deprecated
  41. # include-ids=no
  42. # Put messages in a separate file for each module / package specified on the
  43. # command line instead of printing them on stdout. Reports (if any) will be
  44. # written in a file name "pylint_global.[txt|html]".
  45. files-output=no
  46. # Tells whether to display a full report or only the messages
  47. reports=yes
  48. # Python expression which should return a note less than 10 (10 is the highest
  49. # note). You have access to the variables errors warning, statement which
  50. # respectively contain the number of errors / warnings messages and the total
  51. # number of statements analyzed. This is used by the global evaluation report
  52. # (RP0004).
  53. evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
  54. # Add a comment according to your evaluation note. This is used by the global
  55. # evaluation report (RP0004).
  56. comment=no
  57. [FORMAT]
  58. # Maximum number of characters on a single line.
  59. max-line-length=80
  60. # Maximum number of lines in a module
  61. max-module-lines=1000
  62. # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
  63. # tab).
  64. indent-string=' '
  65. [VARIABLES]
  66. # Tells whether we should check for unused import in __init__ files.
  67. init-import=no
  68. # A regular expression matching the beginning of the name of dummy variables
  69. # (i.e. not used).
  70. dummy-variables-rgx=_|dummy
  71. # List of additional names supposed to be defined in builtins. Remember that
  72. # you should avoid to define new builtins when possible.
  73. additional-builtins=
  74. [SIMILARITIES]
  75. # Minimum lines number of a similarity.
  76. min-similarity-lines=4
  77. # Ignore comments when computing similarities.
  78. ignore-comments=yes
  79. # Ignore docstrings when computing similarities.
  80. ignore-docstrings=yes
  81. [BASIC]
  82. # Required attributes for module, separated by a comma
  83. required-attributes=
  84. # List of builtins function names that should not be used, separated by a comma
  85. bad-functions=map,filter,apply,input
  86. # Regular expression which should only match correct module names
  87. module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
  88. # Regular expression which should only match correct module level names
  89. const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
  90. # Regular expression which should only match correct class names
  91. class-rgx=[A-Z_][a-zA-Z0-9]+$
  92. # Regular expression which should only match correct function names
  93. function-rgx=[a-z_][a-z0-9_]{2,30}$
  94. # Regular expression which should only match correct method names
  95. method-rgx=[A-Za-z_][a-z0-9_]{2,30}$
  96. # Regular expression which should only match correct instance attribute names
  97. attr-rgx=[a-z_][A-Za-z0-9_]{2,30}$
  98. # Regular expression which should only match correct argument names
  99. argument-rgx=[a-z_][A-Za-z0-9_]{2,30}$
  100. # Regular expression which should only match correct variable names
  101. variable-rgx=[a-z_][A-Za-z0-9_]{2,30}$
  102. # Regular expression which should only match correct list comprehension /
  103. # generator expression variable names
  104. inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
  105. # Good variable names which should always be accepted, separated by a comma
  106. good-names=i,j,k,ex,Run,_
  107. # Bad variable names which should always be refused, separated by a comma
  108. bad-names=foo,bar,baz,toto,tutu,tata
  109. # Regular expression which should only match functions or classes name which do
  110. # not require a docstring
  111. no-docstring-rgx=__.*__
  112. [TYPECHECK]
  113. # Tells whether missing members accessed in mixin class should be ignored. A
  114. # mixin class is detected if its name ends with "mixin" (case insensitive).
  115. ignore-mixin-members=yes
  116. # List of classes names for which member attributes should not be checked
  117. # (useful for classes with attributes dynamically set).
  118. ignored-classes=SQLObject
  119. # When zope mode is activated, add a predefined set of Zope acquired attributes
  120. # to generated-members.
  121. zope=no
  122. # List of members which are set dynamically and missed by pylint inference
  123. # system, and so shouldn't trigger E0201 when accessed. Python regular
  124. # expressions are accepted.
  125. generated-members=REQUEST,acl_users,aq_parent
  126. [MISCELLANEOUS]
  127. # List of note tags to take in consideration, separated by a comma.
  128. notes=FIXME,XXX,TODO
  129. [DESIGN]
  130. # Maximum number of arguments for function / method
  131. max-args=5
  132. # Argument names that match this expression will be ignored. Default to name
  133. # with leading underscore
  134. ignored-argument-names=_.*
  135. # Maximum number of locals for function / method body
  136. max-locals=15
  137. # Maximum number of return / yield for function / method body
  138. max-returns=6
  139. # Maximum number of branch for function / method body
  140. max-branchs=12
  141. # Maximum number of statements in function / method body
  142. max-statements=50
  143. # Maximum number of parents for a class (see R0901).
  144. max-parents=7
  145. # Maximum number of attributes for a class (see R0902).
  146. max-attributes=7
  147. # Minimum number of public methods for a class (see R0903).
  148. min-public-methods=2
  149. # Maximum number of public methods for a class (see R0904).
  150. max-public-methods=20
  151. [CLASSES]
  152. # List of interface methods to ignore, separated by a comma. This is used for
  153. # instance to not check methods defines in Zope's Interface base class.
  154. ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
  155. # List of method names used to declare (i.e. assign) instance attributes.
  156. defining-attr-methods=__init__,__new__,setUp
  157. # List of valid names for the first argument in a class method.
  158. valid-classmethod-first-arg=cls
  159. [IMPORTS]
  160. # Deprecated modules which should not be used, separated by a comma
  161. deprecated-modules=regsub,string,TERMIOS,Bastion,rexec
  162. # Create a graph of every (i.e. internal and external) dependencies in the
  163. # given file (report RP0402 must not be disabled)
  164. import-graph=
  165. # Create a graph of external dependencies in the given file (report RP0402 must
  166. # not be disabled)
  167. ext-import-graph=
  168. # Create a graph of internal dependencies in the given file (report RP0402 must
  169. # not be disabled)
  170. int-import-graph=
  171. [EXCEPTIONS]
  172. # Exceptions that will emit a warning when being caught. Defaults to
  173. # "Exception"
  174. overgeneral-exceptions=Exception