MikePiTop

Untitled

Nov 12th, 2021
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.23 KB | None | 0 0
  1. pitop/miniscreen/miniscreen.py:106: error: Function is missing a return type annotation
  2. pitop/miniscreen/miniscreen.py:122: error: Function is missing a return type annotation
  3. pitop/miniscreen/miniscreen.py:122: note: Use "-> None" if function does not return a value
  4. pitop/miniscreen/miniscreen.py:130: error: Function is missing a return type annotation
  5. pitop/miniscreen/miniscreen.py:138: error: Function is missing a type annotation
  6. pitop/miniscreen/miniscreen.py:142: error: Function is missing a return type annotation
  7. pitop/miniscreen/miniscreen.py:153: error: Function is missing a type annotation
  8. pitop/miniscreen/miniscreen.py:157: error: Function is missing a return type annotation
  9. pitop/miniscreen/miniscreen.py:168: error: Function is missing a type annotation
  10. pitop/miniscreen/miniscreen.py:18: error: Function is missing a return type annotation
  11. pitop/miniscreen/miniscreen.py:18: note: Use "-> None" if function does not return a value
  12. pitop/miniscreen/miniscreen.py:19: error: Call to untyped function "__init__" in typed context
  13. pitop/miniscreen/miniscreen.py:21: error: Call to untyped function "MiniscreenButton" in typed context
  14. pitop/miniscreen/miniscreen.py:22: error: Call to untyped function "MiniscreenButton" in typed context
  15. pitop/miniscreen/miniscreen.py:23: error: Call to untyped function "MiniscreenButton" in typed context
  16. pitop/miniscreen/miniscreen.py:24: error: Call to untyped function "MiniscreenButton" in typed context
  17. pitop/miniscreen/miniscreen.py:27: error: Call to untyped function "__setup_subscribe_client" in typed context
  18. pitop/miniscreen/miniscreen.py:31: error: Function is missing a return type annotation
  19. pitop/miniscreen/miniscreen.py:32: error: Function is missing a type annotation
  20. pitop/miniscreen/miniscreen.py:34: error: Item "None" of "Optional[Any]" has no attribute "invoke_callback_func_if_exists"
  21. pitop/miniscreen/miniscreen.py:38: error: Call to untyped function "PTDMSubscribeClient" in typed context
  22. pitop/miniscreen/miniscreen.py:39: error: Call to untyped function "initialise" in typed context
  23. pitop/miniscreen/miniscreen.py:41: error: Call to untyped function "set_button_state" in typed context
  24. pitop/miniscreen/miniscreen.py:44: error: Call to untyped function "set_button_state" in typed context
  25. pitop/miniscreen/miniscreen.py:48: error: Call to untyped function "set_button_state" in typed context
  26. pitop/miniscreen/miniscreen.py:51: error: Call to untyped function "set_button_state" in typed context
  27. pitop/miniscreen/miniscreen.py:55: error: Call to untyped function "set_button_state" in typed context
  28. pitop/miniscreen/miniscreen.py:58: error: Call to untyped function "set_button_state" in typed context
  29. pitop/miniscreen/miniscreen.py:62: error: Call to untyped function "set_button_state" in typed context
  30. pitop/miniscreen/miniscreen.py:65: error: Call to untyped function "set_button_state" in typed context
  31. pitop/miniscreen/miniscreen.py:70: error: Call to untyped function "start_listening" in typed context
  32. pitop/miniscreen/miniscreen.py:72: error: Function is missing a return type annotation
  33. pitop/miniscreen/miniscreen.py:72: note: Use "-> None" if function does not return a value
  34. pitop/miniscreen/miniscreen.py:74: error: Item "None" of "Optional[Any]" has no attribute "stop_listening"
  35. pitop/miniscreen/miniscreen.py:79: error: Function is missing a return type annotation
  36. pitop/miniscreen/miniscreen.py:88: error: Function is missing a return type annotation
  37. pitop/miniscreen/miniscreen.py:97: error: Function is missing a return type annotation
  38. pitop/miniscreen/oled/assistant.py:109: error: Function is missing a type annotation
  39. pitop/miniscreen/oled/assistant.py:124: error: Function is missing a return type annotation
  40. pitop/miniscreen/oled/assistant.py:128: error: Function is missing a return type annotation
  41. pitop/miniscreen/oled/assistant.py:12: error: Function is missing a type annotation
  42. pitop/miniscreen/oled/assistant.py:132: error: Function is missing a return type annotation
  43. pitop/miniscreen/oled/assistant.py:136: error: Function is missing a return type annotation
  44. pitop/miniscreen/oled/assistant.py:139: error: Function is missing a type annotation
  45. pitop/miniscreen/oled/assistant.py:141: error: Call to untyped function "get_recommended_font_size" in typed context
  46. pitop/miniscreen/oled/assistant.py:142: error: Call to untyped function "get_recommended_font_path" in typed context
  47. pitop/miniscreen/oled/assistant.py:144: error: Function is missing a type annotation
  48. pitop/miniscreen/oled/assistant.py:146: error: Call to untyped function "get_recommended_font_size" in typed context
  49. pitop/miniscreen/oled/assistant.py:147: error: Call to untyped function "get_regular_font_path" in typed context
  50. pitop/miniscreen/oled/assistant.py:149: error: Call to untyped function "get_mono_font_path" in typed context
  51. pitop/miniscreen/oled/assistant.py:153: error: Function is missing a type annotation
  52. pitop/miniscreen/oled/assistant.py:155: error: Call to untyped function "get_recommended_font_size" in typed context
  53. pitop/miniscreen/oled/assistant.py:156: error: Call to untyped function "get_regular_font_path" in typed context
  54. pitop/miniscreen/oled/assistant.py:158: error: Function is missing a return type annotation
  55. pitop/miniscreen/oled/assistant.py:161: error: Function is missing a type annotation
  56. pitop/miniscreen/oled/assistant.py:162: error: Call to untyped function "get_mono_font_path" in typed context
  57. pitop/miniscreen/oled/assistant.py:164: error: Function is missing a type annotation
  58. pitop/miniscreen/oled/assistant.py:177: error: Function is missing a return type annotation
  59. pitop/miniscreen/oled/assistant.py:17: error: Function is missing a return type annotation
  60. pitop/miniscreen/oled/assistant.py:181: error: Function is missing a return type annotation
  61. pitop/miniscreen/oled/assistant.py:184: error: Function is missing a return type annotation
  62. pitop/miniscreen/oled/assistant.py:192: error: Function is missing a type annotation
  63. pitop/miniscreen/oled/assistant.py:200: error: Function is missing a return type annotation
  64. pitop/miniscreen/oled/assistant.py:206: error: Call to untyped function "__get_corner" in typed context
  65. pitop/miniscreen/oled/assistant.py:208: error: Function is missing a return type annotation
  66. pitop/miniscreen/oled/assistant.py:20: error: Function is missing a type annotation
  67. pitop/miniscreen/oled/assistant.py:214: error: Call to untyped function "__get_corner" in typed context
  68. pitop/miniscreen/oled/assistant.py:216: error: Function is missing a return type annotation
  69. pitop/miniscreen/oled/assistant.py:222: error: Call to untyped function "__get_corner" in typed context
  70. pitop/miniscreen/oled/assistant.py:224: error: Function is missing a return type annotation
  71. pitop/miniscreen/oled/assistant.py:230: error: Call to untyped function "__get_corner" in typed context
  72. pitop/miniscreen/oled/assistant.py:232: error: Function is missing a return type annotation
  73. pitop/miniscreen/oled/assistant.py:23: error: Function is missing a type annotation
  74. pitop/miniscreen/oled/assistant.py:240: error: Function is missing a return type annotation
  75. pitop/miniscreen/oled/assistant.py:248: error: Function is missing a return type annotation
  76. pitop/miniscreen/oled/assistant.py:26: error: Function is missing a type annotation
  77. pitop/miniscreen/oled/assistant.py:29: error: Function is missing a type annotation
  78. pitop/miniscreen/oled/assistant.py:32: error: Function is missing a type annotation
  79. pitop/miniscreen/oled/assistant.py:33: error: Function is missing a type annotation
  80. pitop/miniscreen/oled/assistant.py:41: error: Call to untyped function "get_text_size" in typed context
  81. pitop/miniscreen/oled/assistant.py:46: error: Call to untyped function "get_text_size" in typed context
  82. pitop/miniscreen/oled/assistant.py:60: error: Function is missing a type annotation
  83. pitop/miniscreen/oled/assistant.py:79: error: Call to untyped function "get_recommended_text_pos" in typed context
  84. pitop/miniscreen/oled/assistant.py:82: error: Call to untyped function "get_recommended_font_size" in typed context
  85. pitop/miniscreen/oled/assistant.py:85: error: Call to untyped function "get_recommended_font_path" in typed context
  86. pitop/miniscreen/oled/assistant.py:88: error: Call to untyped function "get_recommended_text_align" in typed context
  87. pitop/miniscreen/oled/assistant.py:91: error: Call to untyped function "get_recommended_text_anchor" in typed context
  88. pitop/miniscreen/oled/assistant.py:94: error: Call to untyped function "_multiline_split" in typed context
  89. pitop/miniscreen/oled/assistant.py:97: error: Incompatible types in assignment (expression has type "Callable[[Tuple[float, float], Union[str, bytes], Optional[Union[str, int, Union[Tuple[int, int, int], Tuple[int, int, int, int]]]], Optional[_Font], Optional[str], float, Union[Literal['left'], Literal['center'], Literal['right']], Union[Literal['rtl'], Literal['ltr'], Literal['ttb'], None], Optional[Any], Optional[str], int, Optional[Union[str, int, Union[Tuple[int, int, int], Tuple[int, int, int, int]]]], bool], None]", variable has type "Callable[[Tuple[float, float], Union[str, bytes], Optional[Union[str, int, Union[Tuple[int, int, int], Tuple[int, int, int, int]]]], Optional[_Font], Optional[str], float, Union[Literal['left'], Literal['center'], Literal['right']], Union[Literal['rtl'], Literal['ltr'], Literal['ttb'], None], Optional[Sequence[str]], Optional[str], int, Optional[Union[str, int, Union[Tuple[int, int, int], Tuple[int, int, int, int]]]], bool, VarArg(Any), KwArg(Any)], None]")
  90. pitop/miniscreen/oled/core/device_controller.py:100: error: Function is missing a return type annotation
  91. pitop/miniscreen/oled/core/device_controller.py:100: note: Use "-> None" if function does not return a value
  92. pitop/miniscreen/oled/core/device_controller.py:101: error: Call to untyped function "__set_controls" in typed context
  93. pitop/miniscreen/oled/core/device_controller.py:103: error: Function is missing a return type annotation
  94. pitop/miniscreen/oled/core/device_controller.py:103: note: Use "-> None" if function does not return a value
  95. pitop/miniscreen/oled/core/device_controller.py:104: error: Call to untyped function "__set_controls" in typed context
  96. pitop/miniscreen/oled/core/device_controller.py:107: error: Function is missing a return type annotation
  97. pitop/miniscreen/oled/core/device_controller.py:111: error: Function is missing a type annotation
  98. pitop/miniscreen/oled/core/device_controller.py:118: error: Call to untyped function "from_parts" of "Message" in typed context
  99. pitop/miniscreen/oled/core/device_controller.py:120: error: Call to untyped function "PTDMRequestClient" in typed context
  100. pitop/miniscreen/oled/core/device_controller.py:20: error: Function is missing a type annotation
  101. pitop/miniscreen/oled/core/device_controller.py:22: error: Call to untyped function "__get_spi_bus_from_ptdm" in typed context
  102. pitop/miniscreen/oled/core/device_controller.py:24: error: Call to untyped function "PTLock" in typed context
  103. pitop/miniscreen/oled/core/device_controller.py:27: error: Call to untyped function "__setup_subscribe_client" in typed context
  104. pitop/miniscreen/oled/core/device_controller.py:31: error: Function is missing a return type annotation
  105. pitop/miniscreen/oled/core/device_controller.py:31: note: Use "-> None" if function does not return a value
  106. pitop/miniscreen/oled/core/device_controller.py:32: error: Function is missing a type annotation
  107. pitop/miniscreen/oled/core/device_controller.py:34: error: Call to untyped function "reset_device" in typed context
  108. pitop/miniscreen/oled/core/device_controller.py:37: error: Call to untyped function "PTDMSubscribeClient" in typed context
  109. pitop/miniscreen/oled/core/device_controller.py:38: error: Call to untyped function "initialise" in typed context
  110. pitop/miniscreen/oled/core/device_controller.py:41: error: Call to untyped function "start_listening" in typed context
  111. pitop/miniscreen/oled/core/device_controller.py:43: error: Function is missing a return type annotation
  112. pitop/miniscreen/oled/core/device_controller.py:43: note: Use "-> None" if function does not return a value
  113. pitop/miniscreen/oled/core/device_controller.py:45: error: Item "None" of "Optional[Any]" has no attribute "stop_listening"
  114. pitop/miniscreen/oled/core/device_controller.py:49: error: Function is missing a type annotation
  115. pitop/miniscreen/oled/core/device_controller.py:50: error: Call to untyped function "from_parts" of "Message" in typed context
  116. pitop/miniscreen/oled/core/device_controller.py:54: error: Call to untyped function "PTDMRequestClient" in typed context
  117. pitop/miniscreen/oled/core/device_controller.py:57: error: Function is missing a return type annotation
  118. pitop/miniscreen/oled/core/device_controller.py:57: note: Use "-> None" if function does not return a value
  119. pitop/miniscreen/oled/core/device_controller.py:62: error: Call to untyped function "sh1106" in typed context
  120. pitop/miniscreen/oled/core/device_controller.py:63: error: Call to untyped function "spi" in typed context
  121. pitop/miniscreen/oled/core/device_controller.py:74: error: Function is missing a return type annotation
  122. pitop/miniscreen/oled/core/device_controller.py:75: error: Call to untyped function "from_parts" of "Message" in typed context
  123. pitop/miniscreen/oled/core/device_controller.py:77: error: Call to untyped function "PTDMRequestClient" in typed context
  124. pitop/miniscreen/oled/core/device_controller.py:86: error: Function is missing a return type annotation
  125. pitop/miniscreen/oled/core/device_controller.py:87: error: Call to untyped function "is_locked" in typed context
  126. pitop/miniscreen/oled/core/device_controller.py:89: error: Function is missing a return type annotation
  127. pitop/miniscreen/oled/core/device_controller.py:89: note: Use "-> None" if function does not return a value
  128. pitop/miniscreen/oled/core/device_controller.py:91: error: Call to untyped function "device_is_active" in typed context
  129. pitop/miniscreen/oled/core/device_controller.py:94: error: Function is missing a return type annotation
  130. pitop/miniscreen/oled/core/device_controller.py:96: error: Call to untyped function "__setup_device" in typed context
  131. pitop/miniscreen/oled/core/fps_regulator.py:25: error: Function is missing a type annotation
  132. pitop/miniscreen/oled/core/fps_regulator.py:26: error: Call to untyped function "set_max_fps" in typed context
  133. pitop/miniscreen/oled/core/fps_regulator.py:32: error: Function is missing a type annotation
  134. pitop/miniscreen/oled/core/fps_regulator.py:45: error: Function is missing a return type annotation
  135. pitop/miniscreen/oled/core/fps_regulator.py:45: note: Use "-> None" if function does not return a value
  136. pitop/miniscreen/oled/core/fps_regulator.py:48: error: Unsupported operand types for - ("float" and "None")
  137. pitop/miniscreen/oled/core/fps_regulator.py:48: note: Right operand is of type "Optional[Any]"
  138. pitop/miniscreen/oled/core/fps_regulator.py:54: error: Function is missing a return type annotation
  139. pitop/miniscreen/oled/core/fps_regulator.py:54: note: Use "-> None" if function does not return a value
  140. pitop/miniscreen/oled/core/fps_regulator.py:62: error: Function is missing a return type annotation
  141. pitop/miniscreen/oled/core/fps_regulator.py:62: note: Use "-> None" if function does not return a value
  142. pitop/miniscreen/oled/core/fps_regulator.py:69: error: Incompatible types in assignment (expression has type "float", variable has type "int")
  143. pitop/miniscreen/oled/core/fps_regulator.py:6: error: Name "monotonic" already defined (possibly by an import)
  144. pitop/miniscreen/oled/core/fps_regulator.py:71: error: Call to untyped function "throttle_fps_if_needed" in typed context
  145. pitop/miniscreen/oled/core/fps_regulator.py:77: error: Function is missing a return type annotation
  146. pitop/miniscreen/oled/core/fps_regulator.py:90: error: Function is missing a return type annotation
  147. pitop/miniscreen/oled/core/lock.py:13: error: Function is missing a return type annotation
  148. pitop/miniscreen/oled/core/lock.py:28: error: Function is missing a return type annotation
  149. pitop/miniscreen/oled/core/lock.py:28: note: Use "-> None" if function does not return a value
  150. pitop/miniscreen/oled/core/lock.py:29: error: Call to untyped function "stop" in typed context
  151. pitop/miniscreen/oled/core/lock.py:34: error: Function is missing a return type annotation
  152. pitop/miniscreen/oled/core/lock.py:34: note: Use "-> None" if function does not return a value
  153. pitop/miniscreen/oled/core/lock.py:7: error: Function is missing a type annotation
  154. pitop/miniscreen/oled/oled.py:101: error: Function is missing a return type annotation
  155. pitop/miniscreen/oled/oled.py:109: error: Function is missing a return type annotation
  156. pitop/miniscreen/oled/oled.py:113: error: Function is missing a return type annotation
  157. pitop/miniscreen/oled/oled.py:120: error: Call to untyped function "device_is_active" in typed context
  158. pitop/miniscreen/oled/oled.py:123: error: Function is missing a return type annotation
  159. pitop/miniscreen/oled/oled.py:131: error: Function is missing a return type annotation
  160. pitop/miniscreen/oled/oled.py:131: note: Use "-> None" if function does not return a value
  161. pitop/miniscreen/oled/oled.py:134: error: Call to untyped function "set_control_to_pi" in typed context
  162. pitop/miniscreen/oled/oled.py:136: error: Function is missing a return type annotation
  163. pitop/miniscreen/oled/oled.py:136: note: Use "-> None" if function does not return a value
  164. pitop/miniscreen/oled/oled.py:138: error: Call to untyped function "set_control_to_hub" in typed context
  165. pitop/miniscreen/oled/oled.py:140: error: Function is missing a type annotation
  166. pitop/miniscreen/oled/oled.py:150: error: Call to untyped function "set_max_fps" in typed context
  167. pitop/miniscreen/oled/oled.py:152: error: Function is missing a return type annotation
  168. pitop/miniscreen/oled/oled.py:152: note: Use "-> None" if function does not return a value
  169. pitop/miniscreen/oled/oled.py:159: error: Function is missing a return type annotation
  170. pitop/miniscreen/oled/oled.py:159: note: Use "-> None" if function does not return a value
  171. pitop/miniscreen/oled/oled.py:15: error: Function is missing a return type annotation
  172. pitop/miniscreen/oled/oled.py:15: note: Use "-> None" if function does not return a value
  173. pitop/miniscreen/oled/oled.py:169: error: Function is missing a type annotation
  174. pitop/miniscreen/oled/oled.py:16: error: Call to untyped function "OledDeviceController" in typed context
  175. pitop/miniscreen/oled/oled.py:179: error: Function is missing a return type annotation
  176. pitop/miniscreen/oled/oled.py:179: note: Use "-> None" if function does not return a value
  177. pitop/miniscreen/oled/oled.py:17: error: Call to untyped function "MiniscreenLockFileMonitor" in typed context
  178. pitop/miniscreen/oled/oled.py:182: error: Call to untyped function "contrast" in typed context
  179. pitop/miniscreen/oled/oled.py:184: error: Function is missing a return type annotation
  180. pitop/miniscreen/oled/oled.py:184: note: Use "-> None" if function does not return a value
  181. pitop/miniscreen/oled/oled.py:187: error: Call to untyped function "contrast" in typed context
  182. pitop/miniscreen/oled/oled.py:189: error: Function is missing a return type annotation
  183. pitop/miniscreen/oled/oled.py:189: note: Use "-> None" if function does not return a value
  184. pitop/miniscreen/oled/oled.py:191: error: Call to untyped function "clear" in typed context
  185. pitop/miniscreen/oled/oled.py:192: error: Call to untyped function "__display" in typed context
  186. pitop/miniscreen/oled/oled.py:198: error: Function is missing a return type annotation
  187. pitop/miniscreen/oled/oled.py:198: note: Use "-> None" if function does not return a value
  188. pitop/miniscreen/oled/oled.py:199: error: Call to untyped function "__display" in typed context
  189. pitop/miniscreen/oled/oled.py:19: error: Call to untyped function "MiniscreenAssistant" in typed context
  190. pitop/miniscreen/oled/oled.py:201: error: Function is missing a return type annotation
  191. pitop/miniscreen/oled/oled.py:201: note: Use "-> None" if function does not return a value
  192. pitop/miniscreen/oled/oled.py:202: error: Call to untyped function "set_control_to_pi" in typed context
  193. pitop/miniscreen/oled/oled.py:203: error: Call to untyped function "reset_device" in typed context
  194. pitop/miniscreen/oled/oled.py:204: error: Call to untyped function "_redraw_last_image" in typed context
  195. pitop/miniscreen/oled/oled.py:206: error: Function is missing a type annotation
  196. pitop/miniscreen/oled/oled.py:210: error: Call to untyped function "clear" in typed context
  197. pitop/miniscreen/oled/oled.py:211: error: Call to untyped function "refresh" in typed context
  198. pitop/miniscreen/oled/oled.py:213: error: Call to untyped function "wake" in typed context
  199. pitop/miniscreen/oled/oled.py:216: error: Call to untyped function "show" in typed context
  200. pitop/miniscreen/oled/oled.py:218: error: Function is missing a type annotation
  201. pitop/miniscreen/oled/oled.py:231: error: Call to untyped function "display_image" in typed context
  202. pitop/miniscreen/oled/oled.py:232: error: Call to untyped function "get_pil_image_from_path" in typed context
  203. pitop/miniscreen/oled/oled.py:240: error: Function is missing a type annotation
  204. pitop/miniscreen/oled/oled.py:24: error: Call to untyped function "FPS_Regulator" in typed context
  205. pitop/miniscreen/oled/oled.py:252: error: Call to untyped function "__display" in typed context
  206. pitop/miniscreen/oled/oled.py:253: error: Call to untyped function "convert" in typed context
  207. pitop/miniscreen/oled/oled.py:253: error: Call to untyped function "process_image" in typed context
  208. pitop/miniscreen/oled/oled.py:257: error: Function is missing a type annotation
  209. pitop/miniscreen/oled/oled.py:286: error: Call to untyped function "render_text" in typed context
  210. pitop/miniscreen/oled/oled.py:295: error: Call to untyped function "display_image" in typed context
  211. pitop/miniscreen/oled/oled.py:297: error: Function is missing a type annotation
  212. pitop/miniscreen/oled/oled.py:29: error: Call to untyped function "reset" in typed context
  213. pitop/miniscreen/oled/oled.py:327: error: "MiniscreenAssistant" has no attribute "render_multiline_text"
  214. pitop/miniscreen/oled/oled.py:336: error: Call to untyped function "display_image" in typed context
  215. pitop/miniscreen/oled/oled.py:338: error: Function is missing a type annotation
  216. pitop/miniscreen/oled/oled.py:339: error: Call to untyped function "stop_animated_image" in typed context
  217. pitop/miniscreen/oled/oled.py:33: error: Function is missing a type annotation
  218. pitop/miniscreen/oled/oled.py:342: error: Call to untyped function "invert" in typed context
  219. pitop/miniscreen/oled/oled.py:344: error: Call to untyped function "stop_timer" in typed context
  220. pitop/miniscreen/oled/oled.py:346: error: Call to untyped function "should_redisplay" in typed context
  221. pitop/miniscreen/oled/oled.py:349: error: Call to untyped function "start_timer" in typed context
  222. pitop/miniscreen/oled/oled.py:352: error: Function is missing a type annotation
  223. pitop/miniscreen/oled/oled.py:361: error: Call to untyped function "get_pil_image_from_path" in typed context
  224. pitop/miniscreen/oled/oled.py:362: error: Call to untyped function "play_animated_image" in typed context
  225. pitop/miniscreen/oled/oled.py:364: error: Function is missing a type annotation
  226. pitop/miniscreen/oled/oled.py:375: error: Call to untyped function "stop_animated_image" in typed context
  227. pitop/miniscreen/oled/oled.py:383: error: Call to untyped function "__auto_play" in typed context
  228. pitop/miniscreen/oled/oled.py:385: error: Function is missing a return type annotation
  229. pitop/miniscreen/oled/oled.py:385: note: Use "-> None" if function does not return a value
  230. pitop/miniscreen/oled/oled.py:400: error: Function is missing a return type annotation
  231. pitop/miniscreen/oled/oled.py:409: error: Function is missing a return type annotation
  232. pitop/miniscreen/oled/oled.py:418: error: Function is missing a return type annotation
  233. pitop/miniscreen/oled/oled.py:427: error: Function is missing a return type annotation
  234. pitop/miniscreen/oled/oled.py:42: error: Call to untyped function "process_image" in typed context
  235. pitop/miniscreen/oled/oled.py:436: error: Function is missing a return type annotation
  236. pitop/miniscreen/oled/oled.py:445: error: Function is missing a return type annotation
  237. pitop/miniscreen/oled/oled.py:44: error: Function is missing a type annotation
  238. pitop/miniscreen/oled/oled.py:456: error: Function is missing a type annotation
  239. pitop/miniscreen/oled/oled.py:471: error: Call to untyped function "__display" in typed context
  240. pitop/miniscreen/oled/oled.py:473: error: Function is missing a return type annotation
  241. pitop/miniscreen/oled/oled.py:473: note: Use "-> None" if function does not return a value
  242. pitop/miniscreen/oled/oled.py:480: error: Call to untyped function "display" in typed context
  243. pitop/miniscreen/oled/oled.py:482: error: Function is missing a type annotation
  244. pitop/miniscreen/oled/oled.py:488: error: Call to untyped function "display_image_file" in typed context
  245. pitop/miniscreen/oled/oled.py:490: error: Function is missing a type annotation
  246. pitop/miniscreen/oled/oled.py:496: error: Call to untyped function "display_image" in typed context
  247. pitop/miniscreen/oled/oled.py:498: error: Function is missing a type annotation
  248. pitop/miniscreen/oled/oled.py:504: error: Call to untyped function "display_text" in typed context
  249. pitop/miniscreen/oled/oled.py:506: error: Function is missing a type annotation
  250. pitop/miniscreen/oled/oled.py:512: error: Call to untyped function "display_multiline_text" in typed context
  251. pitop/miniscreen/oled/oled.py:517: error: Function is missing a type annotation
  252. pitop/miniscreen/oled/oled.py:519: error: Call to untyped function "get_frame_iterator" in typed context
  253. pitop/miniscreen/oled/oled.py:524: error: Call to untyped function "display_image" in typed context
  254. pitop/miniscreen/oled/oled.py:529: error: Call to untyped function "reset" in typed context
  255. pitop/miniscreen/oled/oled.py:533: error: Function is missing a return type annotation
  256. pitop/miniscreen/oled/oled.py:542: error: Function is missing a type annotation
  257. pitop/miniscreen/oled/oled.py:554: error: Call to untyped function "start" in typed context
  258. pitop/miniscreen/oled/oled.py:557: error: Function is missing a return type annotation
  259. pitop/miniscreen/oled/oled.py:567: error: Function is missing a type annotation
  260. pitop/miniscreen/oled/oled.py:579: error: Call to untyped function "start" in typed context
  261. pitop/miniscreen/oled/oled.py:57: error: Call to untyped function "images_match" in typed context
  262. pitop/miniscreen/oled/oled.py:582: error: Function is missing a return type annotation
  263. pitop/miniscreen/oled/oled.py:587: error: Function is missing a type annotation
  264. pitop/miniscreen/oled/oled.py:592: error: Function is missing a return type annotation
  265. pitop/miniscreen/oled/oled.py:597: error: Function is missing a type annotation
  266. pitop/miniscreen/oled/oled.py:601: error: Function is missing a return type annotation
  267. pitop/miniscreen/oled/oled.py:601: note: Use "-> None" if function does not return a value
  268. pitop/miniscreen/oled/oled.py:602: error: Call to untyped function "stop_animated_image" in typed context
  269. pitop/miniscreen/oled/oled.py:603: error: Call to untyped function "stop" in typed context
  270. pitop/miniscreen/oled/oled.py:62: error: Function is missing a return type annotation
  271. pitop/miniscreen/oled/oled.py:72: error: Function is missing a type annotation
  272. pitop/miniscreen/oled/oled.py:77: error: Function is missing a return type annotation
  273. pitop/miniscreen/oled/oled.py:82: error: Call to untyped function "get_device" in typed context
  274. pitop/miniscreen/oled/oled.py:85: error: Function is missing a return type annotation
  275. pitop/miniscreen/oled/oled.py:93: error: Function is missing a return type annotation
Advertisement
Add Comment
Please, Sign In to add comment