blender_combinations.yaml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. # 'combinations' is a list of lists of codes to merge together. The earlier
  2. # codes will take priority, so if all are found, only the first one will be
  3. # left after blending.
  4. #
  5. # Note that since not all tools will necessarily be run, the first message for
  6. # a line as sorted by the code list will be the one remaining after blending.
  7. combinations:
  8. - # Unused Import
  9. - pylint: unused-import
  10. - pyflakes: F401
  11. - frosted: E101
  12. - # Syntax Error
  13. - dodgy: diff
  14. - pylint: syntax-error
  15. - pyflakes: F999
  16. - pep8: E901
  17. - pycodestyle: E901
  18. - mccabe: MC0000
  19. - frosted: E402
  20. - # Undefined local variable
  21. - pylint: undefined-variable
  22. - pyflakes: F821
  23. - frosted: E303
  24. - # Unused variable
  25. - pylint: unused-variable
  26. - vulture: unused-variable
  27. - pyflakes: F841
  28. - frosted: E307
  29. - # Mixed tabs and spaces
  30. - pep257: D206
  31. - pydocstyle: D206
  32. - pep8: E101
  33. - pycodestyle: E101
  34. - pylint: indentation-mixture
  35. - # Import from __future__ not first import
  36. - pylint: misplaced-future
  37. - pyflakes: F404
  38. - frosted: E207
  39. - # Line too long
  40. - pep8: E501
  41. - pycodestyle: E501
  42. - pylint: line-too-long
  43. - # Trailing whitespace
  44. - pep8: W291
  45. - pycodestyle: W291
  46. - pylint: trailing-whitespace
  47. - # Blank line contains whitespace
  48. - pep8: W293
  49. - pycodestyle: W293
  50. - pylint: trailing-whitespace
  51. - # No newline at end of file
  52. - pep8: W292
  53. - pycodestyle: W292
  54. - pylint: missing-final-newline
  55. - # line ends with semi-colon
  56. - pep8: E703
  57. - pycodestyle: E703
  58. - pylint: unnecessary-semicolon
  59. - # multiple statements on one line (colon)
  60. - pep8: E701
  61. - pycodestyle: E701
  62. - pylint: multiple-statements
  63. - # multiple statements on one line (semicolon)
  64. - pep8: E702
  65. - pycodestyle: E702
  66. - pylint: multiple-statements
  67. - # incorrect indentation
  68. - pep257: D207
  69. - pydocstyle: D207
  70. - pep8: E111
  71. - pycodestyle: E111
  72. - pylint: bad-indentation
  73. - # incorrect indentation
  74. - pep257: D208
  75. - pydocstyle: D208
  76. - pep8: E111
  77. - pycodestyle: E111
  78. - pylint: bad-indentation
  79. - # comma not followed by a space
  80. - pep8: E231
  81. - pycodestyle: E231
  82. - pylint: C0324
  83. - pylint: bad-whitespace
  84. - # missing whitespace around operator
  85. - pep8: E225
  86. - pycodestyle: E225
  87. - pylint: C0322
  88. - pylint: bad-whitespace
  89. - # missing whitespace around operator
  90. - pep8: E225
  91. - pycodestyle: E225
  92. - pylint: C0323
  93. - pylint: bad-whitespace
  94. - # undefined name in __all__
  95. - pylint: undefined-all-variable
  96. - pyflakes: F822
  97. - frosted: E304
  98. - # duplicate argument in function definition
  99. - pylint: duplicate-argument-name
  100. - pyflakes: F831
  101. - frosted: E206
  102. - # redefinition of unused function
  103. - pyflakes: F811
  104. - pylint: function-redefined
  105. - # f-string is missing placeholders
  106. - pylint: f-string-without-interpolation
  107. - pyflakes: F541
  108. - # Duplicate key in dictionary
  109. - pylint: duplicate-key
  110. - pyflakes: F601
  111. - # More than one starred expression in assignment
  112. - pylint: too-many-star-expressions
  113. - pyflakes: F622
  114. - # Assert called on a tuple
  115. - pylint: assert-on-tuple
  116. - pyflakes: F631
  117. - # 'break' outside loop
  118. - pylint: not-in-loop
  119. - pyflakes: F701
  120. - # 'continue' not properly in loop
  121. - pylint: not-in-loop
  122. - pyflakes: F702
  123. - # 'continue' not supported inside 'finally' clause
  124. - pylint: continue-in-finally
  125. - pyflakes: F703
  126. - # Yield outside function
  127. - pylint: yield-outside-function
  128. - pyflakes: F704
  129. - # Return outside function
  130. - pylint: return-outside-function
  131. - pyflakes: F706
  132. - # default 'except:' must be last
  133. - pylint: bad-except-order
  134. - pyflakes: F707
  135. - # NotImplemented raised - should raise NotImplementedError
  136. - pylint: notimplemented-raised
  137. - pyflakes: F901
  138. - # first argument of a classmethod should be named 'cls'
  139. - pep8: N804
  140. - pycodestyle: N804
  141. - pylint: bad-classmethod-argument
  142. - # '<>' is deprecated, use '!='
  143. - pep8: W603
  144. - pycodestyle: W603
  145. - pylint: W0331
  146. - # backticks are deprecated, use 'repr()'
  147. - pep8: W604
  148. - pycodestyle: W604
  149. - pylint: W0333
  150. - # Redefining name from outer scope
  151. - pylint: redefined-outer-name
  152. - pyflakes: F810
  153. - frosted: E306
  154. - # Wildcard import
  155. - pylint: wildcard-import
  156. - pyflakes: F403
  157. - frosted: E103
  158. - # Return with argument inside generator
  159. - pylint: return-arg-in-generator
  160. - frosted: E208
  161. - # Too many positional arguments for function call
  162. - pylint: too-many-function-args
  163. - frosted: E203
  164. - # Passing unexpected keyword argument
  165. - pylint: unexpected-keyword-arg
  166. - frosted: E204
  167. - # Missing mandatory keyword argument
  168. - pylint: missing-kwoa
  169. - frosted: E205
  170. - # No exception type(s) specified
  171. - pylint: bare-except
  172. - frosted: W101
  173. - pep8: E722
  174. - pycodestyle: E722
  175. - # Spaces around keyword/parameter equals
  176. - pep8: E251
  177. - pycodestyle: E251
  178. - pylint: bad-whitespace
  179. - # Missing space after a comma
  180. - pep8: E231
  181. - pycodestyle: E231
  182. - pylint: bad-whitespace
  183. - # redefinition of unused %r from line %r
  184. - pyflakes: F811
  185. - frosted: E301
  186. - # list comprehension redefines %r from line %r
  187. - pyflakes: F812
  188. - frosted: E302
  189. - # import %r from line %r shadowed by loop variable
  190. - pyflakes: F402
  191. - frosted: E102
  192. - # syntax error in doctest
  193. - pyflakes: FL0007
  194. - frosted: E401
  195. - # local variable %r referenced before assignment
  196. - pyflakes: F823
  197. - frosted: E305
  198. - # pep8-naming incorrectly suggests that the first argument of a metaclass __new__ method should be 'cls'
  199. - pylint: bad-mcs-classmethod-argument
  200. - pep8: N804
  201. - pycodestyle: N804
  202. - # class names should be camelcase
  203. - pep8: N801
  204. - pycodestyle: N801
  205. - pylint: invalid-name
  206. - # too complex
  207. - mccabe: MC0001
  208. - pylint: too-many-branches
  209. - - mccabe: MC0001
  210. - pylint: too-many-statements
  211. - # pep257 takes preference over pylint documentation warnings
  212. - pep257: D100
  213. - pydocstyle: D100
  214. - pylint: missing-docstring
  215. - - pep257: D101
  216. - pydocstyle: D101
  217. - pylint: missing-docstring
  218. - - pep257: D102
  219. - pydocstyle: D102
  220. - pylint: missing-docstring
  221. - - pep257: D103
  222. - pydocstyle: D103
  223. - pylint: missing-docstring
  224. - - pylint: singleton-comparison
  225. - pep8: E711
  226. - pycodestyle: E711