SHARE
TWEET

Untitled

a guest Jul 16th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ************* Module src.test.test_search
  2. src/test/test_search.py:1:0: C0111: Missing module docstring (missing-docstring)
  3. src/test/test_search.py:4:0: C0111: Missing function docstring (missing-docstring)
  4. src/test/test_search.py:8:0: C0111: Missing function docstring (missing-docstring)
  5. ************* Module src.python.server
  6. src/python/server.py:1:0: C0111: Missing module docstring (missing-docstring)
  7. src/python/server.py:17:0: C0103: Constant name "app" doesn't conform to UPPER_CASE naming style (invalid-name)
  8. src/python/server.py:18:0: C0103: Constant name "socketio" doesn't conform to UPPER_CASE naming style (invalid-name)
  9. src/python/server.py:28:0: C0111: Missing function docstring (missing-docstring)
  10. src/python/server.py:33:0: C0111: Missing function docstring (missing-docstring)
  11. src/python/server.py:40:0: C0103: Argument name "e" doesn't conform to snake_case naming style (invalid-name)
  12. src/python/server.py:40:0: C0111: Missing function docstring (missing-docstring)
  13. src/python/server.py:46:0: C0111: Missing function docstring (missing-docstring)
  14. src/python/server.py:50:0: C0111: Missing function docstring (missing-docstring)
  15. src/python/server.py:9:0: W0611: Unused gevent imported from engineio.async_drivers (unused-import)
  16. src/python/server.py:5:0: C0411: standard import "import sqlite3" should be placed before "from flask import Flask, jsonify, redirect" (wrong-import-order)
  17. src/python/server.py:6:0: C0411: standard import "import traceback" should be placed before "from flask import Flask, jsonify, redirect" (wrong-import-order)
  18. ************* Module src.python.shared
  19. src/python/shared.py:23:0: C0301: Line too long (109/100) (line-too-long)
  20. src/python/shared.py:1:0: C0111: Missing module docstring (missing-docstring)
  21. src/python/shared.py:15:0: C0111: Missing function docstring (missing-docstring)
  22. src/python/shared.py:20:0: C0111: Missing class docstring (missing-docstring)
  23. src/python/shared.py:20:0: R0903: Too few public methods (0/2) (too-few-public-methods)
  24. src/python/shared.py:2:0: C0411: standard import "import os" should be placed before "import appdirs" (wrong-import-order)
  25. src/python/shared.py:3:0: C0411: standard import "from pathlib import Path" should be placed before "import appdirs" (wrong-import-order)
  26. src/python/shared.py:4:0: C0411: standard import "import atexit" should be placed before "import appdirs" (wrong-import-order)
  27. src/python/shared.py:5:0: C0411: standard import "import shutil" should be placed before "import appdirs" (wrong-import-order)
  28. ************* Module src.python.api.quiz
  29. src/python/api/quiz.py:104:0: C0301: Line too long (102/100) (line-too-long)
  30. src/python/api/quiz.py:1:0: C0111: Missing module docstring (missing-docstring)
  31. src/python/api/quiz.py:9:0: C0103: Constant name "api_quiz" doesn't conform to UPPER_CASE naming style (invalid-name)
  32. src/python/api/quiz.py:13:0: C0111: Missing function docstring (missing-docstring)
  33. src/python/api/quiz.py:18:16: C0103: Variable name "c" doesn't conform to snake_case naming style (invalid-name)
  34. src/python/api/quiz.py:46:4: C0103: Variable name "db" doesn't conform to snake_case naming style (invalid-name)
  35. src/python/api/quiz.py:55:8: C0103: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
  36. src/python/api/quiz.py:63:8: C0103: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
  37. src/python/api/quiz.py:71:0: C0111: Missing function docstring (missing-docstring)
  38. src/python/api/quiz.py:72:4: C0103: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
  39. src/python/api/quiz.py:103:4: C0103: Variable name "db" doesn't conform to snake_case naming style (invalid-name)
  40. src/python/api/quiz.py:110:0: C0111: Missing function docstring (missing-docstring)
  41. src/python/api/quiz.py:111:4: C0103: Variable name "db" doesn't conform to snake_case naming style (invalid-name)
  42. src/python/api/quiz.py:112:4: C0103: Variable name "c" doesn't conform to snake_case naming style (invalid-name)
  43. src/python/api/quiz.py:118:0: C0111: Missing function docstring (missing-docstring)
  44. src/python/api/quiz.py:120:4: C0103: Variable name "db" doesn't conform to snake_case naming style (invalid-name)
  45. src/python/api/quiz.py:127:0: C0111: Missing function docstring (missing-docstring)
  46. src/python/api/quiz.py:129:4: C0103: Variable name "db" doesn't conform to snake_case naming style (invalid-name)
  47. src/python/api/quiz.py:2:0: C0411: standard import "from datetime import datetime" should be placed before "from flask import Blueprint, request, jsonify" (wrong-import-order)
  48. src/python/api/quiz.py:3:0: C0411: standard import "from typing import List" should be placed before "from flask import Blueprint, request, jsonify" (wrong-import-order)
  49. ************* Module src.python.api.media
  50. src/python/api/media.py:1:0: C0111: Missing module docstring (missing-docstring)
  51. src/python/api/media.py:6:0: C0103: Constant name "api_media" doesn't conform to UPPER_CASE naming style (invalid-name)
  52. src/python/api/media.py:10:0: C0111: Missing function docstring (missing-docstring)
  53. src/python/api/media.py:11:4: C0103: Variable name "db" doesn't conform to snake_case naming style (invalid-name)
  54. src/python/api/media.py:12:10: C0103: Variable name "b" doesn't conform to snake_case naming style (invalid-name)
  55. src/python/api/media.py:22:0: C0103: Argument name "p" doesn't conform to snake_case naming style (invalid-name)
  56. src/python/api/media.py:22:0: C0111: Missing function docstring (missing-docstring)
  57. src/python/api/media.py:27:0: C0111: Missing function docstring (missing-docstring)
  58. src/python/api/media.py:2:0: C0411: standard import "from io import BytesIO" should be placed before "from flask import Blueprint, send_file, jsonify, send_from_directory" (wrong-import-order)
  59. ************* Module src.python.api.io
  60. src/python/api/io.py:73:0: C0301: Line too long (120/100) (line-too-long)
  61. src/python/api/io.py:1:0: C0111: Missing module docstring (missing-docstring)
  62. src/python/api/io.py:12:0: C0103: Constant name "api_io" doesn't conform to UPPER_CASE naming style (invalid-name)
  63. src/python/api/io.py:18:0: C0111: Missing function docstring (missing-docstring)
  64. src/python/api/io.py:19:4: C0103: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  65. src/python/api/io.py:29:0: C0111: Missing function docstring (missing-docstring)
  66. src/python/api/io.py:43:4: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
  67. src/python/api/io.py:51:0: C0111: Missing function docstring (missing-docstring)
  68. src/python/api/io.py:53:8: R1705: Unnecessary "else" after "return" (no-else-return)
  69. src/python/api/io.py:64:4: C0103: Variable name "db" doesn't conform to snake_case naming style (invalid-name)
  70. src/python/api/io.py:3:0: C0411: standard import "from uuid import uuid4" should be placed before "from flask import Blueprint, request, jsonify, send_file" (wrong-import-order)
  71. ************* Module src.python.api.editor
  72. src/python/api/editor.py:41:0: C0301: Line too long (111/100) (line-too-long)
  73. src/python/api/editor.py:1:0: C0111: Missing module docstring (missing-docstring)
  74. src/python/api/editor.py:8:0: C0103: Constant name "api_editor" doesn't conform to UPPER_CASE naming style (invalid-name)
  75. src/python/api/editor.py:12:0: C0111: Missing function docstring (missing-docstring)
  76. src/python/api/editor.py:12:0: R0914: Too many local variables (16/15) (too-many-locals)
  77. src/python/api/editor.py:13:4: C0103: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
  78. src/python/api/editor.py:14:4: C0103: Variable name "db" doesn't conform to snake_case naming style (invalid-name)
  79. src/python/api/editor.py:16:4: R1705: Unnecessary "elif" after "return" (no-else-return)
  80. src/python/api/editor.py:46:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  81. src/python/api/editor.py:79:12: R1705: Unnecessary "else" after "return" (no-else-return)
  82. src/python/api/editor.py:12:0: R0912: Too many branches (28/12) (too-many-branches)
  83. src/python/api/editor.py:12:0: R0915: Too many statements (60/50) (too-many-statements)
  84. src/python/api/editor.py:110:0: C0111: Missing function docstring (missing-docstring)
  85. src/python/api/editor.py:111:4: C0103: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
  86. src/python/api/editor.py:118:0: C0111: Missing function docstring (missing-docstring)
  87. src/python/api/editor.py:119:4: C0103: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
  88. src/python/api/editor.py:2:0: C0411: standard import "from random import shuffle" should be placed before "from flask import Blueprint, request, Response, jsonify" (wrong-import-order)
  89. ************* Module src.python.engine.db
  90. src/python/engine/db.py:261:0: C0301: Line too long (104/100) (line-too-long)
  91. src/python/engine/db.py:310:0: C0330: Wrong hanging indentation before block (add 4 spaces).
  92.                 "nextReview", "created", "modified",
  93.                 ^   | (bad-continuation)
  94. src/python/engine/db.py:311:0: C0330: Wrong hanging indentation before block (add 4 spaces).
  95.                 "front", "back", "mnemonic", "srsLevel"
  96.                 ^   | (bad-continuation)
  97. src/python/engine/db.py:446:0: C0301: Line too long (108/100) (line-too-long)
  98. src/python/engine/db.py:472:0: C0301: Line too long (111/100) (line-too-long)
  99. src/python/engine/db.py:1:0: C0111: Missing module docstring (missing-docstring)
  100. src/python/engine/db.py:14:0: C0111: Missing class docstring (missing-docstring)
  101. src/python/engine/db.py:80:4: C0111: Missing method docstring (missing-docstring)
  102. src/python/engine/db.py:87:4: C0103: Method name "insertMany" doesn't conform to snake_case naming style (invalid-name)
  103. src/python/engine/db.py:87:4: C0111: Missing method docstring (missing-docstring)
  104. src/python/engine/db.py:90:8: C0103: Variable name "deckNameToId" doesn't conform to snake_case naming style (invalid-name)
  105. src/python/engine/db.py:94:8: C0103: Variable name "sourceHToId" doesn't conform to snake_case naming style (invalid-name)
  106. src/python/engine/db.py:95:8: C0103: Variable name "sourceSet" doesn't conform to snake_case naming style (invalid-name)
  107. src/python/engine/db.py:96:12: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
  108. src/python/engine/db.py:111:8: C0103: Variable name "templateKeyToId" doesn't conform to snake_case naming style (invalid-name)
  109. src/python/engine/db.py:112:12: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
  110. src/python/engine/db.py:137:8: C0103: Variable name "noteKeyToId" doesn't conform to snake_case naming style (invalid-name)
  111. src/python/engine/db.py:138:12: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
  112. src/python/engine/db.py:141:20: C0103: Variable name "noteId" doesn't conform to snake_case naming style (invalid-name)
  113. src/python/engine/db.py:150:20: C0103: Variable name "noteId" doesn't conform to snake_case naming style (invalid-name)
  114. src/python/engine/db.py:160:8: C0103: Variable name "cardIds" doesn't conform to snake_case naming style (invalid-name)
  115. src/python/engine/db.py:161:12: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
  116. src/python/engine/db.py:162:12: C0103: Variable name "cardId" doesn't conform to snake_case naming style (invalid-name)
  117. src/python/engine/db.py:180:20: C0103: Variable name "t" doesn't conform to snake_case naming style (invalid-name)
  118. src/python/engine/db.py:202:4: C0103: Method name "getAll" doesn't conform to snake_case naming style (invalid-name)
  119. src/python/engine/db.py:202:4: C0111: Missing method docstring (missing-docstring)
  120. src/python/engine/db.py:203:8: C0103: Variable name "c" doesn't conform to snake_case naming style (invalid-name)
  121. src/python/engine/db.py:235:12: C0103: Variable name "r" doesn't conform to snake_case naming style (invalid-name)
  122. src/python/engine/db.py:249:4: C0103: Method name "getOrCreateDeck" doesn't conform to snake_case naming style (invalid-name)
  123. src/python/engine/db.py:249:4: C0111: Missing method docstring (missing-docstring)
  124. src/python/engine/db.py:261:4: C0103: Method name "transformCreateOrUpdate" doesn't conform to snake_case naming style (invalid-name)
  125. src/python/engine/db.py:261:4: C0103: Argument name "cId" doesn't conform to snake_case naming style (invalid-name)
  126. src/python/engine/db.py:261:4: C0103: Argument name "u" doesn't conform to snake_case naming style (invalid-name)
  127. src/python/engine/db.py:261:4: C0111: Missing method docstring (missing-docstring)
  128. src/python/engine/db.py:294:4: C0103: Argument name "cId" doesn't conform to snake_case naming style (invalid-name)
  129. src/python/engine/db.py:294:4: C0103: Argument name "u" doesn't conform to snake_case naming style (invalid-name)
  130. src/python/engine/db.py:294:4: C0103: Argument name "doCommit" doesn't conform to snake_case naming style (invalid-name)
  131. src/python/engine/db.py:294:4: C0111: Missing method docstring (missing-docstring)
  132. src/python/engine/db.py:301:15: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  133. src/python/engine/db.py:303:16: C0103: Variable name "deckId" doesn't conform to snake_case naming style (invalid-name)
  134. src/python/engine/db.py:314:20: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  135. src/python/engine/db.py:338:16: C0103: Variable name "prevTags" doesn't conform to snake_case naming style (invalid-name)
  136. src/python/engine/db.py:342:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  137. src/python/engine/db.py:351:20: C0103: Variable name "vn" doesn't conform to snake_case naming style (invalid-name)
  138. src/python/engine/db.py:352:20: C0103: Variable name "isNew" doesn't conform to snake_case naming style (invalid-name)
  139. src/python/engine/db.py:353:27: C0103: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
  140. src/python/engine/db.py:356:28: C0103: Variable name "isNew" doesn't conform to snake_case naming style (invalid-name)
  141. src/python/engine/db.py:366:20: C0103: Variable name "noteId" doesn't conform to snake_case naming style (invalid-name)
  142. src/python/engine/db.py:294:4: R0912: Too many branches (17/12) (too-many-branches)
  143. src/python/engine/db.py:388:4: C0103: Method name "updateMany" doesn't conform to snake_case naming style (invalid-name)
  144. src/python/engine/db.py:388:4: C0103: Argument name "cIds" doesn't conform to snake_case naming style (invalid-name)
  145. src/python/engine/db.py:388:4: C0103: Argument name "u" doesn't conform to snake_case naming style (invalid-name)
  146. src/python/engine/db.py:388:4: C0111: Missing method docstring (missing-docstring)
  147. src/python/engine/db.py:392:12: C0103: Variable name "cId" doesn't conform to snake_case naming style (invalid-name)
  148. src/python/engine/db.py:397:4: C0103: Method name "getFront" doesn't conform to snake_case naming style (invalid-name)
  149. src/python/engine/db.py:397:4: C0103: Argument name "cId" doesn't conform to snake_case naming style (invalid-name)
  150. src/python/engine/db.py:397:4: C0111: Missing method docstring (missing-docstring)
  151. src/python/engine/db.py:403:12: C0103: Variable name "tFront" doesn't conform to snake_case naming style (invalid-name)
  152. src/python/engine/db.py:417:4: C0103: Method name "getData" doesn't conform to snake_case naming style (invalid-name)
  153. src/python/engine/db.py:417:4: C0103: Argument name "cId" doesn't conform to snake_case naming style (invalid-name)
  154. src/python/engine/db.py:417:4: C0111: Missing method docstring (missing-docstring)
  155. src/python/engine/db.py:423:4: C0103: Argument name "cId" doesn't conform to snake_case naming style (invalid-name)
  156. src/python/engine/db.py:423:4: C0111: Missing method docstring (missing-docstring)
  157. src/python/engine/db.py:430:4: C0103: Method name "deleteMany" doesn't conform to snake_case naming style (invalid-name)
  158. src/python/engine/db.py:430:4: C0103: Argument name "cIds" doesn't conform to snake_case naming style (invalid-name)
  159. src/python/engine/db.py:430:4: C0111: Missing method docstring (missing-docstring)
  160. src/python/engine/db.py:437:4: C0103: Method name "getTags" doesn't conform to snake_case naming style (invalid-name)
  161. src/python/engine/db.py:437:4: C0103: Argument name "cId" doesn't conform to snake_case naming style (invalid-name)
  162. src/python/engine/db.py:437:4: C0111: Missing method docstring (missing-docstring)
  163. src/python/engine/db.py:446:4: C0103: Method name "addTags" doesn't conform to snake_case naming style (invalid-name)
  164. src/python/engine/db.py:446:4: C0103: Argument name "cId" doesn't conform to snake_case naming style (invalid-name)
  165. src/python/engine/db.py:446:4: C0103: Argument name "doCommit" doesn't conform to snake_case naming style (invalid-name)
  166. src/python/engine/db.py:446:4: C0103: Argument name "prevTags" doesn't conform to snake_case naming style (invalid-name)
  167. src/python/engine/db.py:446:4: C0111: Missing method docstring (missing-docstring)
  168. src/python/engine/db.py:450:12: C0103: Variable name "t" doesn't conform to snake_case naming style (invalid-name)
  169. src/python/engine/db.py:472:4: C0103: Method name "removeTags" doesn't conform to snake_case naming style (invalid-name)
  170. src/python/engine/db.py:472:4: C0103: Argument name "cId" doesn't conform to snake_case naming style (invalid-name)
  171. src/python/engine/db.py:472:4: C0103: Argument name "doCommit" doesn't conform to snake_case naming style (invalid-name)
  172. src/python/engine/db.py:472:4: C0103: Argument name "prevTags" doesn't conform to snake_case naming style (invalid-name)
  173. src/python/engine/db.py:472:4: C0111: Missing method docstring (missing-docstring)
  174. src/python/engine/db.py:476:12: C0103: Variable name "t" doesn't conform to snake_case naming style (invalid-name)
  175. src/python/engine/db.py:490:4: C0103: Method name "parseCond" doesn't conform to snake_case naming style (invalid-name)
  176. src/python/engine/db.py:490:4: C0111: Missing method docstring (missing-docstring)
  177. src/python/engine/db.py:496:19: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  178. src/python/engine/db.py:502:8: C0103: Variable name "sortBy" doesn't conform to snake_case naming style (invalid-name)
  179. src/python/engine/db.py:504:12: C0103: Variable name "sortBy" doesn't conform to snake_case naming style (invalid-name)
  180. src/python/engine/db.py:506:12: C0103: Variable name "sortBy" doesn't conform to snake_case naming style (invalid-name)
  181. src/python/engine/db.py:516:12: C0103: Variable name "sortKey" doesn't conform to snake_case naming style (invalid-name)
  182. src/python/engine/db.py:518:8: C0103: Variable name "allCards" doesn't conform to snake_case naming style (invalid-name)
  183. src/python/engine/db.py:520:12: C0103: Variable name "endPoint" doesn't conform to snake_case naming style (invalid-name)
  184. src/python/engine/db.py:522:12: C0103: Variable name "endPoint" doesn't conform to snake_case naming style (invalid-name)
  185. src/python/engine/db.py:529:4: C0103: Argument name "cardId" doesn't conform to snake_case naming style (invalid-name)
  186. src/python/engine/db.py:529:4: C0111: Missing method docstring (missing-docstring)
  187. src/python/engine/db.py:530:8: C0103: Variable name "c" doesn't conform to snake_case naming style (invalid-name)
  188. src/python/engine/db.py:558:4: C0103: Method name "markRight" doesn't conform to snake_case naming style (invalid-name)
  189. src/python/engine/db.py:558:4: C0103: Argument name "cardId" doesn't conform to snake_case naming style (invalid-name)
  190. src/python/engine/db.py:558:4: C0111: Missing method docstring (missing-docstring)
  191. src/python/engine/db.py:561:4: C0103: Method name "markWrong" doesn't conform to snake_case naming style (invalid-name)
  192. src/python/engine/db.py:561:4: C0103: Argument name "cardId" doesn't conform to snake_case naming style (invalid-name)
  193. src/python/engine/db.py:561:4: C0111: Missing method docstring (missing-docstring)
  194. src/python/engine/db.py:564:4: C0103: Method name "_updateCard" doesn't conform to snake_case naming style (invalid-name)
  195. src/python/engine/db.py:564:4: C0103: Argument name "dSrsLevel" doesn't conform to snake_case naming style (invalid-name)
  196. src/python/engine/db.py:564:4: C0103: Argument name "cardId" doesn't conform to snake_case naming style (invalid-name)
  197. src/python/engine/db.py:565:8: C0103: Variable name "srsLevel" doesn't conform to snake_case naming style (invalid-name)
  198. src/python/engine/db.py:576:12: C0103: Variable name "srsLevel" doesn't conform to snake_case naming style (invalid-name)
  199. src/python/engine/db.py:583:8: C0103: Variable name "srsLevel" doesn't conform to snake_case naming style (invalid-name)
  200. src/python/engine/db.py:586:12: C0103: Variable name "srsLevel" doesn't conform to snake_case naming style (invalid-name)
  201. src/python/engine/db.py:589:12: C0103: Variable name "srsLevel" doesn't conform to snake_case naming style (invalid-name)
  202. src/python/engine/db.py:592:12: C0103: Variable name "nextReview" doesn't conform to snake_case naming style (invalid-name)
  203. src/python/engine/db.py:594:12: C0103: Variable name "nextReview" doesn't conform to snake_case naming style (invalid-name)
  204. ************* Module src.python.engine.quiz
  205. src/python/engine/quiz.py:1:0: C0111: Missing module docstring (missing-docstring)
  206. src/python/engine/quiz.py:3:0: C0103: Constant name "srsMap" doesn't conform to UPPER_CASE naming style (invalid-name)
  207. src/python/engine/quiz.py:15:0: C0103: Function name "getNextReview" doesn't conform to snake_case naming style (invalid-name)
  208. src/python/engine/quiz.py:15:0: C0111: Missing function docstring (missing-docstring)
  209. src/python/engine/quiz.py:22:0: C0103: Function name "repeatReview" doesn't conform to snake_case naming style (invalid-name)
  210. src/python/engine/quiz.py:22:0: C0111: Missing function docstring (missing-docstring)
  211. ************* Module src.python.engine.anki
  212. src/python/engine/anki.py:41:0: C0301: Line too long (104/100) (line-too-long)
  213. src/python/engine/anki.py:1:0: C0111: Missing module docstring (missing-docstring)
  214. src/python/engine/anki.py:23:8: C0103: Attribute name "cb" doesn't conform to snake_case naming style (invalid-name)
  215. src/python/engine/anki.py:18:0: C0111: Missing class docstring (missing-docstring)
  216. src/python/engine/anki.py:19:4: R0914: Too many local variables (16/15) (too-many-locals)
  217. src/python/engine/anki.py:25:35: C0103: Variable name "zf" doesn't conform to snake_case naming style (invalid-name)
  218. src/python/engine/anki.py:26:12: C0103: Variable name "fs" doesn't conform to snake_case naming style (invalid-name)
  219. src/python/engine/anki.py:28:19: C0103: Variable name "f" doesn't conform to snake_case naming style (invalid-name)
  220. src/python/engine/anki.py:73:12: C0103: Variable name "d" doesn't conform to snake_case naming style (invalid-name)
  221. src/python/engine/anki.py:81:12: C0103: Variable name "m" doesn't conform to snake_case naming style (invalid-name)
  222. src/python/engine/anki.py:92:16: C0103: Variable name "t" doesn't conform to snake_case naming style (invalid-name)
  223. src/python/engine/anki.py:99:4: C0111: Missing method docstring (missing-docstring)
  224. src/python/engine/anki.py:103:4: C0103: Argument name "db" doesn't conform to snake_case naming style (invalid-name)
  225. src/python/engine/anki.py:103:4: C0111: Missing method docstring (missing-docstring)
  226. src/python/engine/anki.py:103:4: R0914: Too many local variables (21/15) (too-many-locals)
  227. src/python/engine/anki.py:132:12: C0103: Variable name "h" doesn't conform to snake_case naming style (invalid-name)
  228. src/python/engine/anki.py:152:8: C0103: Variable name "ts" doesn't conform to snake_case naming style (invalid-name)
  229. src/python/engine/anki.py:158:15: C0103: Variable name "t" doesn't conform to snake_case naming style (invalid-name)
  230. src/python/engine/anki.py:179:8: C0103: Variable name "ns" doesn't conform to snake_case naming style (invalid-name)
  231. src/python/engine/anki.py:196:15: C0103: Variable name "n" doesn't conform to snake_case naming style (invalid-name)
  232. src/python/engine/anki.py:204:12: C0103: Variable name "vs" doesn't conform to snake_case naming style (invalid-name)
  233. src/python/engine/anki.py:205:12: C0103: Variable name "ks" doesn't conform to snake_case naming style (invalid-name)
  234. src/python/engine/anki.py:238:4: C0103: Argument name "s" doesn't conform to snake_case naming style (invalid-name)
  235. ************* Module src.python.engine.util
  236. src/python/engine/util.py:1:0: C0111: Missing module docstring (missing-docstring)
  237. src/python/engine/util.py:7:0: C0103: Function name "ankiMustache" doesn't conform to snake_case naming style (invalid-name)
  238. src/python/engine/util.py:7:0: C0103: Argument name "s" doesn't conform to snake_case naming style (invalid-name)
  239. src/python/engine/util.py:7:0: C0103: Argument name "d" doesn't conform to snake_case naming style (invalid-name)
  240. src/python/engine/util.py:7:0: C0111: Missing function docstring (missing-docstring)
  241. ************* Module src.python.engine.search
  242. src/python/engine/search.py:35:0: C0330: Wrong hanging indentation before block (add 4 spaces).
  243.             self._remove_brackets,
  244.             ^   | (bad-continuation)
  245. src/python/engine/search.py:36:0: C0330: Wrong hanging indentation before block (add 4 spaces).
  246.             self._parse_sep(" OR "),
  247.             ^   | (bad-continuation)
  248. src/python/engine/search.py:37:0: C0330: Wrong hanging indentation before block (add 4 spaces).
  249.             self._parse_sep(" "),
  250.             ^   | (bad-continuation)
  251. src/python/engine/search.py:38:0: C0330: Wrong hanging indentation before block (add 4 spaces).
  252.             self._parse_neg,
  253.             ^   | (bad-continuation)
  254. src/python/engine/search.py:39:0: C0330: Wrong hanging indentation before block (add 4 spaces).
  255.             self._parse_full_expr,
  256.             ^   | (bad-continuation)
  257. src/python/engine/search.py:40:0: C0330: Wrong hanging indentation before block (add 4 spaces).
  258.             self._parse_partial_expr
  259.             ^   | (bad-continuation)
  260. src/python/engine/search.py:257:0: C0301: Line too long (115/100) (line-too-long)
  261. src/python/engine/search.py:258:0: C0330: Wrong continued indentation (add 24 spaces).
  262.         if desc else pre_cmp(dot_getter(x, sort_by, False), dot_getter(y, sort_by, False)))
  263.         ^                       | (bad-continuation)
  264. src/python/engine/search.py:1:0: C0111: Missing module docstring (missing-docstring)
  265. src/python/engine/search.py:15:0: C0111: Missing class docstring (missing-docstring)
  266. src/python/engine/search.py:22:4: C0103: Argument name "q" doesn't conform to snake_case naming style (invalid-name)
  267. src/python/engine/search.py:22:4: C0111: Missing method docstring (missing-docstring)
  268. src/python/engine/search.py:33:4: C0103: Argument name "q" doesn't conform to snake_case naming style (invalid-name)
  269. src/python/engine/search.py:44:12: C0103: Variable name "e" doesn't conform to snake_case naming style (invalid-name)
  270. src/python/engine/search.py:49:4: C0103: Argument name "q" doesn't conform to snake_case naming style (invalid-name)
  271. src/python/engine/search.py:58:8: C0103: Argument name "m" doesn't conform to snake_case naming style (invalid-name)
  272. src/python/engine/search.py:63:8: C0103: Argument name "q" doesn't conform to snake_case naming style (invalid-name)
  273. src/python/engine/search.py:67:19: C0103: Variable name "t" doesn't conform to snake_case naming style (invalid-name)
  274. src/python/engine/search.py:68:23: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  275. src/python/engine/search.py:73:16: R1705: Unnecessary "elif" after "return" (no-else-return)
  276. src/python/engine/search.py:85:4: C0103: Argument name "q" doesn't conform to snake_case naming style (invalid-name)
  277. src/python/engine/search.py:87:12: C0103: Variable name "kw" doesn't conform to snake_case naming style (invalid-name)
  278. src/python/engine/search.py:97:4: C0103: Argument name "q" doesn't conform to snake_case naming style (invalid-name)
  279. src/python/engine/search.py:98:8: C0103: Variable name "m" doesn't conform to snake_case naming style (invalid-name)
  280. src/python/engine/search.py:100:15: C0103: Variable name "op" doesn't conform to snake_case naming style (invalid-name)
  281. src/python/engine/search.py:100:19: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  282. src/python/engine/search.py:103:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  283. src/python/engine/search.py:105:16: C0103: Variable name "m1" doesn't conform to snake_case naming style (invalid-name)
  284. src/python/engine/search.py:107:20: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  285. src/python/engine/search.py:112:20: C0103: Variable name "op" doesn't conform to snake_case naming style (invalid-name)
  286. src/python/engine/search.py:113:20: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  287. src/python/engine/search.py:116:20: C0103: Variable name "op" doesn't conform to snake_case naming style (invalid-name)
  288. src/python/engine/search.py:117:20: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  289. src/python/engine/search.py:120:20: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  290. src/python/engine/search.py:123:20: C0103: Variable name "op" doesn't conform to snake_case naming style (invalid-name)
  291. src/python/engine/search.py:124:20: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  292. src/python/engine/search.py:131:16: C0103: Variable name "op" doesn't conform to snake_case naming style (invalid-name)
  293. src/python/engine/search.py:133:16: C0103: Variable name "op" doesn't conform to snake_case naming style (invalid-name)
  294. src/python/engine/search.py:146:20: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  295. src/python/engine/search.py:149:28: C0103: Variable name "op" doesn't conform to snake_case naming style (invalid-name)
  296. src/python/engine/search.py:151:28: C0103: Variable name "op" doesn't conform to snake_case naming style (invalid-name)
  297. src/python/engine/search.py:157:20: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  298. src/python/engine/search.py:159:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  299. src/python/engine/search.py:161:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  300. src/python/engine/search.py:163:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  301. src/python/engine/search.py:165:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  302. src/python/engine/search.py:167:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  303. src/python/engine/search.py:97:4: R0912: Too many branches (26/12) (too-many-branches)
  304. src/python/engine/search.py:97:4: R0915: Too many statements (60/50) (too-many-statements)
  305. src/python/engine/search.py:174:4: C0103: Argument name "q" doesn't conform to snake_case naming style (invalid-name)
  306. src/python/engine/search.py:177:16: C0103: Variable name "a" doesn't conform to snake_case naming style (invalid-name)
  307. src/python/engine/search.py:15:0: R0903: Too few public methods (1/2) (too-few-public-methods)
  308. src/python/engine/search.py:190:0: C0111: Missing function docstring (missing-docstring)
  309. src/python/engine/search.py:196:15: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  310. src/python/engine/search.py:198:16: R1705: Unnecessary "elif" after "return" (no-else-return)
  311. src/python/engine/search.py:207:16: R1705: Unnecessary "elif" after "return" (no-else-return)
  312. src/python/engine/search.py:195:4: R0911: Too many return statements (7/6) (too-many-return-statements)
  313. src/python/engine/search.py:220:0: C0103: Argument name "s" doesn't conform to snake_case naming style (invalid-name)
  314. src/python/engine/search.py:220:0: C0111: Missing function docstring (missing-docstring)
  315. src/python/engine/search.py:224:4: C0103: Variable name "m" doesn't conform to snake_case naming style (invalid-name)
  316. src/python/engine/search.py:226:8: R1705: Unnecessary "elif" after "return" (no-else-return)
  317. src/python/engine/search.py:220:0: R0911: Too many return statements (7/6) (too-many-return-statements)
  318. src/python/engine/search.py:242:0: C0111: Missing function docstring (missing-docstring)
  319. src/python/engine/search.py:243:4: C0103: Argument name "a" doesn't conform to snake_case naming style (invalid-name)
  320. src/python/engine/search.py:243:4: C0103: Argument name "b" doesn't conform to snake_case naming style (invalid-name)
  321. src/python/engine/search.py:244:8: C0103: Variable name "m" doesn't conform to snake_case naming style (invalid-name)
  322. src/python/engine/search.py:245:8: C0103: Variable name "n" doesn't conform to snake_case naming style (invalid-name)
  323. src/python/engine/search.py:248:12: R1705: Unnecessary "elif" after "return" (no-else-return)
  324. src/python/engine/search.py:248:15: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
  325. src/python/engine/search.py:261:0: C0103: Argument name "d" doesn't conform to snake_case naming style (invalid-name)
  326. src/python/engine/search.py:261:0: C0111: Missing function docstring (missing-docstring)
  327. src/python/engine/search.py:265:4: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  328. src/python/engine/search.py:267:8: C0103: Variable name "kn" doesn't conform to snake_case naming style (invalid-name)
  329. src/python/engine/search.py:270:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  330. src/python/engine/search.py:272:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  331. src/python/engine/search.py:275:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  332. src/python/engine/search.py:277:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  333. src/python/engine/search.py:282:31: C1801: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
  334. src/python/engine/search.py:283:8: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  335. src/python/engine/search.py:291:24: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  336. src/python/engine/search.py:293:24: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  337. src/python/engine/search.py:295:24: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  338. src/python/engine/search.py:298:24: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  339. src/python/engine/search.py:300:24: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  340. src/python/engine/search.py:302:24: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  341. src/python/engine/search.py:304:16: C0103: Variable name "v" doesn't conform to snake_case naming style (invalid-name)
  342. src/python/engine/search.py:261:0: R0912: Too many branches (20/12) (too-many-branches)
  343. src/python/engine/search.py:309:0: C0103: Argument name "d" doesn't conform to snake_case naming style (invalid-name)
  344. src/python/engine/search.py:309:0: C0111: Missing function docstring (missing-docstring)
  345. src/python/engine/search.py:313:8: R1705: Unnecessary "else" after "return" (no-else-return)
  346. src/python/engine/search.py:316:16: C0103: Variable name "v0" doesn't conform to snake_case naming style (invalid-name)
  347. src/python/engine/search.py:325:0: C0103: Argument name "v" doesn't conform to snake_case naming style (invalid-name)
  348. src/python/engine/search.py:326:8: C0103: Variable name "op" doesn't conform to snake_case naming style (invalid-name)
  349. src/python/engine/search.py:326:12: C0103: Variable name "v0" doesn't conform to snake_case naming style (invalid-name)
  350. src/python/engine/search.py:329:16: R1705: Unnecessary "else" after "return" (no-else-return)
  351. src/python/engine/search.py:334:16: R1705: Unnecessary "else" after "return" (no-else-return)
  352. src/python/engine/search.py:339:16: R1705: Unnecessary "else" after "return" (no-else-return)
  353. src/python/engine/search.py:349:23: C0103: Variable name "v0" doesn't conform to snake_case naming style (invalid-name)
  354. src/python/engine/search.py:353:16: R1705: Unnecessary "elif" after "return" (no-else-return)
  355. src/python/engine/search.py:325:0: R0911: Too many return statements (12/6) (too-many-return-statements)
  356. src/python/engine/search.py:325:0: R0912: Too many branches (18/12) (too-many-branches)
  357. src/python/engine/search.py:367:0: C0103: Argument name "x" doesn't conform to snake_case naming style (invalid-name)
  358. src/python/engine/search.py:368:4: R1705: Unnecessary "elif" after "return" (no-else-return)
  359. ************* Module src.python.engine.typing
  360. src/python/engine/typing.py:1:0: C0111: Missing module docstring (missing-docstring)
  361. src/python/engine/typing.py:6:0: C0111: Missing class docstring (missing-docstring)
  362. src/python/engine/typing.py:11:0: C0111: Missing class docstring (missing-docstring)
  363. src/python/engine/typing.py:16:0: C0111: Missing class docstring (missing-docstring)
  364. src/python/engine/typing.py:20:0: C0111: Missing class docstring (missing-docstring)
  365. src/python/engine/typing.py:45:0: C0111: Missing class docstring (missing-docstring)
  366. src/python/engine/typing.py:53:0: C0111: Missing class docstring (missing-docstring)
  367. src/python/engine/typing.py:58:0: C0111: Missing class docstring (missing-docstring)
  368. src/python/engine/typing.py:58:0: R0903: Too few public methods (0/2) (too-few-public-methods)
  369. src/python/engine/typing.py:3:0: C0411: standard import "import dataclasses as dc" should be placed before "from easydict import EasyDict" (wrong-import-order)
  370.  
  371. -----------------------------------
  372. Your code has been rated at 6.42/10
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top