MikePiTop

Untitled

Nov 12th, 2021
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.79 KB | None | 0 0
  1. pitop/pma/adc_base.py:21: error: Function is missing a type annotation
  2. pitop/pma/adc_base.py:26: error: Call to untyped function "get_pin_for_port" in typed context
  3. pitop/pma/adc_base.py:27: error: Call to untyped function "PlateInterface" in typed context
  4. pitop/pma/adc_base.py:27: error: Call to untyped function "get_device_mcu" in typed context
  5. pitop/pma/adc_base.py:29: error: Call to untyped function "__init__" in typed context
  6. pitop/pma/adc_base.py:30: error: Call to untyped function "__init__" in typed context
  7. pitop/pma/adc_base.py:35: error: Function is missing a return type annotation
  8. pitop/pma/adc_base.py:40: error: Function is missing a type annotation
  9. pitop/pma/adc_base.py:56: error: Call to untyped function "__read_peak" in typed context
  10. pitop/pma/adc_base.py:58: error: Call to untyped function "__read" in typed context
  11. pitop/pma/adc_base.py:64: error: Function is missing a type annotation
  12. pitop/pma/adc_base.py:66: error: Call to untyped function "__read_register" in typed context
  13. pitop/pma/adc_base.py:69: error: Function is missing a type annotation
  14. pitop/pma/adc_base.py:71: error: Call to untyped function "__read_register" in typed context
  15. pitop/pma/adc_base.py:74: error: Function is missing a type annotation
  16. pitop/pma/adc_base.py:78: error: Function is missing a return type annotation
  17. pitop/pma/adc_base.py:78: note: Use "-> None" if function does not return a value
  18. pitop/pma/button.py:15: error: Function is missing a type annotation
  19. pitop/pma/button.py:19: error: Call to untyped function "__init__" in typed context
  20. pitop/pma/button.py:20: error: Call to untyped function "__init__" in typed context
  21. pitop/pma/button.py:21: error: Call to untyped function "get_pin_for_port" in typed context
  22. pitop/pma/button.py:24: error: Function is missing a return type annotation
  23. pitop/pma/button.py:31: error: Function is missing a return type annotation
  24. pitop/pma/button.py:31: note: Use "-> None" if function does not return a value
  25. pitop/pma/button.py:7: error: Class cannot subclass "gpiozero_Button" (has type "Any")
  26. pitop/pma/buzzer.py:14: error: Function is missing a type annotation
  27. pitop/pma/buzzer.py:18: error: Call to untyped function "__init__" in typed context
  28. pitop/pma/buzzer.py:19: error: Call to untyped function "__init__" in typed context
  29. pitop/pma/buzzer.py:20: error: Call to untyped function "get_pin_for_port" in typed context
  30. pitop/pma/buzzer.py:23: error: Function is missing a return type annotation
  31. pitop/pma/buzzer.py:29: error: Function is missing a return type annotation
  32. pitop/pma/buzzer.py:29: note: Use "-> None" if function does not return a value
  33. pitop/pma/buzzer.py:7: error: Class cannot subclass "gpiozero_Buzzer" (has type "Any")
  34. pitop/pma/common/math_functions/ellipsoid_functions.py:110: error: Function is missing a type annotation
  35. pitop/pma/common/math_functions/ellipsoid_functions.py:11: error: Function is missing a type annotation
  36. pitop/pma/common/math_functions/ellipsoid_functions.py:52: error: Function is missing a type annotation
  37. pitop/pma/common/utils.py:24: error: Function is missing a type annotation
  38. pitop/pma/common/utils.py:31: error: Function is missing a type annotation
  39. pitop/pma/common/utils.py:51: error: Function is missing a type annotation
  40. pitop/pma/common/utils.py:53: error: Function is missing a type annotation
  41. pitop/pma/common/utils.py:58: error: Call to untyped function "validate_input" in typed context
  42. pitop/pma/encoder_motor.py:107: error: Function is missing a type annotation
  43. pitop/pma/encoder_motor.py:111: error: Function is missing a return type annotation
  44. pitop/pma/encoder_motor.py:127: error: Function is missing a type annotation
  45. pitop/pma/encoder_motor.py:131: error: Function is missing a type annotation
  46. pitop/pma/encoder_motor.py:160: error: Function is missing a return type annotation
  47. pitop/pma/encoder_motor.py:173: error: Function is missing a type annotation
  48. pitop/pma/encoder_motor.py:234: error: Function is missing a return type annotation
  49. pitop/pma/encoder_motor.py:247: error: Function is missing a return type annotation
  50. pitop/pma/encoder_motor.py:247: note: Use "-> None" if function does not return a value
  51. pitop/pma/encoder_motor.py:249: error: Call to untyped function "stop" in typed context
  52. pitop/pma/encoder_motor.py:252: error: Function is missing a return type annotation
  53. pitop/pma/encoder_motor.py:266: error: Function is missing a return type annotation
  54. pitop/pma/encoder_motor.py:286: error: Function is missing a return type annotation
  55. pitop/pma/encoder_motor.py:297: error: Function is missing a return type annotation
  56. pitop/pma/encoder_motor.py:304: error: Function is missing a return type annotation
  57. pitop/pma/encoder_motor.py:326: error: Function is missing a type annotation
  58. pitop/pma/encoder_motor.py:333: error: Function is missing a return type annotation
  59. pitop/pma/encoder_motor.py:336: error: Function is missing a type annotation
  60. pitop/pma/encoder_motor.py:371: error: Call to untyped function "set_target_rpm" in typed context
  61. pitop/pma/encoder_motor.py:373: error: Function is missing a type annotation
  62. pitop/pma/encoder_motor.py:395: error: Call to untyped function "set_target_speed" in typed context
  63. pitop/pma/encoder_motor.py:397: error: Function is missing a type annotation
  64. pitop/pma/encoder_motor.py:419: error: Call to untyped function "set_target_speed" in typed context
  65. pitop/pma/encoder_motor.py:422: error: Function is missing a return type annotation
  66. pitop/pma/encoder_motor.py:433: error: Function is missing a return type annotation
  67. pitop/pma/encoder_motor.py:443: error: Function is missing a return type annotation
  68. pitop/pma/encoder_motor.py:50: error: Function is missing a type annotation
  69. pitop/pma/encoder_motor.py:70: error: Call to untyped function "__init__" in typed context
  70. pitop/pma/encoder_motor.py:71: error: Call to untyped function "__init__" in typed context
  71. pitop/pma/encoder_motor.py:83: error: Function is missing a return type annotation
  72. pitop/pma/encoder_motor.py:94: error: Function is missing a return type annotation
  73. pitop/pma/encoder_motor_controller.py:117: error: Incompatible return value type (got "None", expected "int")
  74. pitop/pma/encoder_motor_controller.py:119: error: Returning Any from function declared to return "int"
  75. pitop/pma/encoder_motor_controller.py:123: error: Untyped decorator makes function "set_rpm_control" untyped
  76. pitop/pma/encoder_motor_controller.py:138: error: Incompatible return value type (got "None", expected "Tuple[int, int]")
  77. pitop/pma/encoder_motor_controller.py:152: error: Untyped decorator makes function "set_rpm_with_rotations" untyped
  78. pitop/pma/encoder_motor_controller.py:23: error: Call to untyped function "PlateInterface" in typed context
  79. pitop/pma/encoder_motor_controller.py:23: error: Call to untyped function "get_device_mcu" in typed context
  80. pitop/pma/encoder_motor_controller.py:33: error: Untyped decorator makes function "set_control_mode" untyped
  81. pitop/pma/encoder_motor_controller.py:40: error: Returning Any from function declared to return "int"
  82. pitop/pma/encoder_motor_controller.py:44: error: Untyped decorator makes function "set_braking_type" untyped
  83. pitop/pma/encoder_motor_controller.py:67: error: Returning Any from function declared to return "int"
  84. pitop/pma/encoder_motor_controller.py:69: error: Untyped decorator makes function "set_odometer" untyped
  85. pitop/pma/encoder_motor_controller.py:76: error: Function is missing a return type annotation
  86. pitop/pma/encoder_motor_controller.py:76: note: Use "-> None" if function does not return a value
  87. pitop/pma/encoder_motor_controller.py:91: error: Incompatible return value type (got "None", expected "int")
  88. pitop/pma/encoder_motor_controller.py:93: error: Returning Any from function declared to return "int"
  89. pitop/pma/encoder_motor_controller.py:97: error: Untyped decorator makes function "set_power" untyped
  90. pitop/pma/imu.py:116: error: Function is missing a return type annotation
  91. pitop/pma/imu.py:11: error: Function is missing a type annotation
  92. pitop/pma/imu.py:133: error: Function is missing a return type annotation
  93. pitop/pma/imu.py:150: error: Function is missing a return type annotation
  94. pitop/pma/imu.py:19: error: Function is missing a type annotation
  95. pitop/pma/imu.py:27: error: Function is missing a type annotation
  96. pitop/pma/imu.py:32: error: Function is missing a type annotation
  97. pitop/pma/imu.py:33: error: Call to untyped function "__mul__" in typed context
  98. pitop/pma/imu.py:35: error: Function is missing a return type annotation
  99. pitop/pma/imu.py:54: error: Function is missing a return type annotation
  100. pitop/pma/imu.py:54: note: Use "-> None" if function does not return a value
  101. pitop/pma/imu.py:55: error: Call to untyped function "ImuController" in typed context
  102. pitop/pma/imu.py:59: error: Function is missing a return type annotation
  103. pitop/pma/imu.py:73: error: Function is missing a return type annotation
  104. pitop/pma/imu.py:91: error: Function is missing a return type annotation
  105. pitop/pma/imu.py:96: error: Function is missing a return type annotation
  106. pitop/pma/imu_controller.py:100: error: Function is missing a return type annotation
  107. pitop/pma/imu_controller.py:110: error: Function is missing a return type annotation
  108. pitop/pma/imu_controller.py:114: error: Function is missing a return type annotation
  109. pitop/pma/imu_controller.py:119: error: Function is missing a return type annotation
  110. pitop/pma/imu_controller.py:123: error: Function is missing a return type annotation
  111. pitop/pma/imu_controller.py:128: error: Function is missing a return type annotation
  112. pitop/pma/imu_controller.py:136: error: Argument 1 to "float" has incompatible type "Optional[Any]"; expected "Union[SupportsFloat, SupportsIndex, str, bytes]"
  113. pitop/pma/imu_controller.py:144: error: Function is missing a return type annotation
  114. pitop/pma/imu_controller.py:152: error: Argument 1 to "float" has incompatible type "Optional[Any]"; expected "Union[SupportsFloat, SupportsIndex, str, bytes]"
  115. pitop/pma/imu_controller.py:160: error: Function is missing a return type annotation
  116. pitop/pma/imu_controller.py:174: error: Function is missing a return type annotation
  117. pitop/pma/imu_controller.py:205: error: Function is missing a return type annotation
  118. pitop/pma/imu_controller.py:206: error: Call to untyped function "__read_mag_cal_hard" in typed context
  119. pitop/pma/imu_controller.py:208: error: Call to untyped function "__read_mag_cal_soft" in typed context
  120. pitop/pma/imu_controller.py:215: error: Function is missing a type annotation
  121. pitop/pma/imu_controller.py:220: error: Call to untyped function "__write_mag_cal" in typed context
  122. pitop/pma/imu_controller.py:221: error: Call to untyped function "__write_mag_cal" in typed context
  123. pitop/pma/imu_controller.py:222: error: Call to untyped function "__write_mag_cal" in typed context
  124. pitop/pma/imu_controller.py:232: error: Call to untyped function "__write_mag_cal" in typed context
  125. pitop/pma/imu_controller.py:233: error: Call to untyped function "__write_mag_cal" in typed context
  126. pitop/pma/imu_controller.py:234: error: Call to untyped function "__write_mag_cal" in typed context
  127. pitop/pma/imu_controller.py:235: error: Call to untyped function "__write_mag_cal" in typed context
  128. pitop/pma/imu_controller.py:236: error: Call to untyped function "__write_mag_cal" in typed context
  129. pitop/pma/imu_controller.py:237: error: Call to untyped function "__write_mag_cal" in typed context
  130. pitop/pma/imu_controller.py:240: error: Call to untyped function "read_mag_cal_params" in typed context
  131. pitop/pma/imu_controller.py:256: error: Function is missing a return type annotation
  132. pitop/pma/imu_controller.py:259: error: Function is missing a return type annotation
  133. pitop/pma/imu_controller.py:25: error: Function is missing a return type annotation
  134. pitop/pma/imu_controller.py:25: note: Use "-> None" if function does not return a value
  135. pitop/pma/imu_controller.py:266: error: Function is missing a type annotation
  136. pitop/pma/imu_controller.py:274: error: Function is missing a return type annotation
  137. pitop/pma/imu_controller.py:285: error: Function is missing a return type annotation
  138. pitop/pma/imu_controller.py:30: error: Call to untyped function "PlateInterface" in typed context
  139. pitop/pma/imu_controller.py:30: error: Call to untyped function "get_device_mcu" in typed context
  140. pitop/pma/imu_controller.py:42: error: Function is missing a return type annotation
  141. pitop/pma/imu_controller.py:42: note: Use "-> None" if function does not return a value
  142. pitop/pma/imu_controller.py:48: error: Function is missing a return type annotation
  143. pitop/pma/imu_controller.py:57: error: Function is missing a return type annotation
  144. pitop/pma/imu_controller.py:61: error: Function is missing a return type annotation
  145. pitop/pma/imu_controller.py:66: error: Function is missing a return type annotation
  146. pitop/pma/imu_controller.py:70: error: Function is missing a return type annotation
  147. pitop/pma/imu_controller.py:75: error: Function is missing a return type annotation
  148. pitop/pma/imu_controller.py:79: error: Function is missing a return type annotation
  149. pitop/pma/imu_controller.py:84: error: Function is missing a return type annotation
  150. pitop/pma/imu_controller.py:88: error: Function is missing a return type annotation
  151. pitop/pma/imu_controller.py:92: error: Function is missing a return type annotation
  152. pitop/pma/led.py:15: error: Function is missing a type annotation
  153. pitop/pma/led.py:19: error: Call to untyped function "__init__" in typed context
  154. pitop/pma/led.py:20: error: Call to untyped function "__init__" in typed context
  155. pitop/pma/led.py:21: error: Call to untyped function "get_pin_for_port" in typed context
  156. pitop/pma/led.py:24: error: Function is missing a return type annotation
  157. pitop/pma/led.py:30: error: Function is missing a return type annotation
  158. pitop/pma/led.py:30: note: Use "-> None" if function does not return a value
  159. pitop/pma/led.py:7: error: Class cannot subclass "gpiozero_LED" (has type "Any")
  160. pitop/pma/light_sensor.py:18: error: Function is missing a type annotation
  161. pitop/pma/light_sensor.py:19: error: Call to untyped function "__init__" in typed context
  162. pitop/pma/light_sensor.py:22: error: Function is missing a return type annotation
  163. pitop/pma/light_sensor.py:29: error: Call to untyped function "read" in typed context
  164. pitop/pma/light_sensor.py:32: error: Function is missing a return type annotation
  165. pitop/pma/plate_interface.py:14: error: Function is missing a return type annotation
  166. pitop/pma/plate_interface.py:14: note: Use "-> None" if function does not return a value
  167. pitop/pma/plate_interface.py:21: error: Function is missing a return type annotation
  168. pitop/pma/plate_interface.py:21: note: Use "-> None" if function does not return a value
  169. pitop/pma/plate_interface.py:22: error: Call to untyped function "__disconnect_mcu" in typed context
  170. pitop/pma/plate_interface.py:24: error: Function is missing a return type annotation
  171. pitop/pma/plate_interface.py:26: error: Call to untyped function "__connect_mcu" in typed context
  172. pitop/pma/plate_interface.py:31: error: Function is missing a return type annotation
  173. pitop/pma/plate_interface.py:31: note: Use "-> None" if function does not return a value
  174. pitop/pma/plate_interface.py:39: error: Call to untyped function "connect" in typed context
  175. pitop/pma/plate_interface.py:41: error: Call to untyped function "__send_heartbeat" in typed context
  176. pitop/pma/plate_interface.py:43: error: Call to untyped function "__disconnect_mcu" in typed context
  177. pitop/pma/plate_interface.py:51: error: Function is missing a return type annotation
  178. pitop/pma/plate_interface.py:51: note: Use "-> None" if function does not return a value
  179. pitop/pma/plate_interface.py:66: error: Function is missing a return type annotation
  180. pitop/pma/plate_interface.py:66: note: Use "-> None" if function does not return a value
  181. pitop/pma/plate_interface.py:69: error: Item "None" of "Optional[Any]" has no attribute "write_byte"
  182. pitop/pma/plate_interface.py:79: error: Function is missing a return type annotation
  183. pitop/pma/plate_interface.py:79: note: Use "-> None" if function does not return a value
  184. pitop/pma/plate_interface.py:83: error: Call to untyped function "__send_heartbeat" in typed context
  185. pitop/pma/potentiometer.py:19: error: Function is missing a type annotation
  186. pitop/pma/potentiometer.py:20: error: Call to untyped function "__init__" in typed context
  187. pitop/pma/potentiometer.py:23: error: Function is missing a return type annotation
  188. pitop/pma/potentiometer.py:29: error: Function is missing a return type annotation
  189. pitop/pma/potentiometer.py:35: error: Call to untyped function "read" in typed context
  190. pitop/pma/potentiometer.py:38: error: Function is missing a return type annotation
  191. pitop/pma/servo_controller.py:116: error: Untyped decorator makes function "set_target_angle" untyped
  192. pitop/pma/servo_controller.py:117: error: Function is missing a return type annotation
  193. pitop/pma/servo_controller.py:140: error: Function is missing a return type annotation
  194. pitop/pma/servo_controller.py:145: error: Untyped decorator makes function "set_acceleration_mode" untyped
  195. pitop/pma/servo_controller.py:146: error: Function is missing a return type annotation
  196. pitop/pma/servo_controller.py:35: error: Call to untyped function "PlateInterface" in typed context
  197. pitop/pma/servo_controller.py:35: error: Call to untyped function "get_device_mcu" in typed context
  198. pitop/pma/servo_controller.py:44: error: Untyped decorator makes function "set_min_pulse_width" untyped
  199. pitop/pma/servo_controller.py:53: error: Incompatible types in assignment (expression has type "float", variable has type "int")
  200. pitop/pma/servo_controller.py:58: error: Untyped decorator makes function "set_max_pulse_width" untyped
  201. pitop/pma/servo_controller.py:67: error: Incompatible types in assignment (expression has type "float", variable has type "int")
  202. pitop/pma/servo_controller.py:72: error: Untyped decorator makes function "set_pwm_frequency" untyped
  203. pitop/pma/servo_controller.py:77: error: Returning Any from function declared to return "int"
  204. pitop/pma/servo_controller.py:81: error: Function is missing a return type annotation
  205. pitop/pma/servo_motor.py:108: error: Function is missing a return type annotation
  206. pitop/pma/servo_motor.py:119: error: Function is missing a return type annotation
  207. pitop/pma/servo_motor.py:128: error: Call to untyped function "get_current_angle_and_speed" in typed context
  208. pitop/pma/servo_motor.py:135: error: Function is missing a return type annotation
  209. pitop/pma/servo_motor.py:165: error: Function is missing a return type annotation
  210. pitop/pma/servo_motor.py:179: error: Call to untyped function "get_current_angle_and_speed" in typed context
  211. pitop/pma/servo_motor.py:183: error: Function is missing a return type annotation
  212. pitop/pma/servo_motor.py:192: error: Call to untyped function "get_current_angle_and_speed" in typed context
  213. pitop/pma/servo_motor.py:196: error: Function is missing a return type annotation
  214. pitop/pma/servo_motor.py:202: error: Call to untyped function "get_acceleration_mode" in typed context
  215. pitop/pma/servo_motor.py:205: error: Function is missing a return type annotation
  216. pitop/pma/servo_motor.py:215: error: Function is missing a return type annotation
  217. pitop/pma/servo_motor.py:223: error: Function is missing a type annotation
  218. pitop/pma/servo_motor.py:240: error: Function is missing a return type annotation
  219. pitop/pma/servo_motor.py:248: error: Function is missing a type annotation
  220. pitop/pma/servo_motor.py:268: error: Function is missing a type annotation
  221. pitop/pma/servo_motor.py:34: error: Function is missing a type annotation
  222. pitop/pma/servo_motor.py:50: error: Call to untyped function "__init__" in typed context
  223. pitop/pma/servo_motor.py:51: error: Call to untyped function "__init__" in typed context
  224. pitop/pma/servo_motor.py:61: error: Function is missing a return type annotation
  225. pitop/pma/servo_motor.py:67: error: Function is missing a return type annotation
  226. pitop/pma/servo_motor.py:67: note: Use "-> None" if function does not return a value
  227. pitop/pma/servo_motor.py:69: error: Call to untyped function "stop" in typed context
  228. pitop/pma/servo_motor.py:71: error: Function is missing a return type annotation
  229. pitop/pma/servo_motor.py:71: note: Use "-> None" if function does not return a value
  230. pitop/pma/servo_motor.py:79: error: Function is missing a return type annotation
  231. pitop/pma/servo_motor.py:94: error: Function is missing a type annotation
  232. pitop/pma/sound_sensor.py:17: error: Function is missing a type annotation
  233. pitop/pma/sound_sensor.py:18: error: Call to untyped function "__init__" in typed context
  234. pitop/pma/sound_sensor.py:21: error: Function is missing a return type annotation
  235. pitop/pma/sound_sensor.py:27: error: Call to untyped function "read" in typed context
  236. pitop/pma/sound_sensor.py:31: error: Function is missing a return type annotation
  237. pitop/pma/ultrasonic_sensor.py:102: error: Function is missing a return type annotation
  238. pitop/pma/ultrasonic_sensor.py:10: error: Function is missing a type annotation
  239. pitop/pma/ultrasonic_sensor.py:112: error: Function is missing a return type annotation
  240. pitop/pma/ultrasonic_sensor.py:120: error: Function is missing a return type annotation
  241. pitop/pma/ultrasonic_sensor.py:123: error: Function is missing a return type annotation
  242. pitop/pma/ultrasonic_sensor.py:123: note: Use "-> None" if function does not return a value
  243. pitop/pma/ultrasonic_sensor.py:161: error: Call to untyped function "close" in typed context
  244. pitop/pma/ultrasonic_sensor.py:164: error: Function is missing a return type annotation
  245. pitop/pma/ultrasonic_sensor.py:168: error: Function is missing a return type annotation
  246. pitop/pma/ultrasonic_sensor.py:172: error: Function is missing a type annotation
  247. pitop/pma/ultrasonic_sensor.py:177: error: Function is missing a return type annotation
  248. pitop/pma/ultrasonic_sensor.py:181: error: Function is missing a type annotation
  249. pitop/pma/ultrasonic_sensor.py:185: error: Function is missing a type annotation
  250. pitop/pma/ultrasonic_sensor.py:186: error: Call to untyped function "wait_for_inactive" in typed context
  251. pitop/pma/ultrasonic_sensor.py:188: error: Function is missing a type annotation
  252. pitop/pma/ultrasonic_sensor.py:189: error: Call to untyped function "wait_for_active" in typed context
  253. pitop/pma/ultrasonic_sensor.py:25: error: Call to untyped function "UltrasonicSensorMCU" in typed context
  254. pitop/pma/ultrasonic_sensor.py:34: error: Call to untyped function "UltrasonicSensorRPI" in typed context
  255. pitop/pma/ultrasonic_sensor.py:46: error: Call to untyped function "__init__" in typed context
  256. pitop/pma/ultrasonic_sensor.py:47: error: Call to untyped function "__init__" in typed context
  257. pitop/pma/ultrasonic_sensor.py:59: error: Function is missing a return type annotation
  258. pitop/pma/ultrasonic_sensor.py:62: error: Function is missing a type annotation
  259. pitop/pma/ultrasonic_sensor.py:63: error: Call to untyped function "close" in typed context
  260. pitop/pma/ultrasonic_sensor.py:66: error: Function is missing a return type annotation
  261. pitop/pma/ultrasonic_sensor.py:72: error: Function is missing a return type annotation
  262. pitop/pma/ultrasonic_sensor.py:84: error: Function is missing a type annotation
  263. pitop/pma/ultrasonic_sensor.py:88: error: Function is missing a return type annotation
  264. pitop/pma/ultrasonic_sensor.py:98: error: Function is missing a type annotation
  265. pitop/pma/ultrasonic_sensor_base.py:112: error: Function is missing a type annotation
  266. pitop/pma/ultrasonic_sensor_base.py:126: error: Need type annotation for "__data_queue"
  267. pitop/pma/ultrasonic_sensor_base.py:129: error: Call to untyped function "PlateInterface" in typed context
  268. pitop/pma/ultrasonic_sensor_base.py:129: error: Call to untyped function "get_device_mcu" in typed context
  269. pitop/pma/ultrasonic_sensor_base.py:130: error: Call to untyped function "CompatibilityCheck" in typed context
  270. pitop/pma/ultrasonic_sensor_base.py:132: error: Call to untyped function "__configure_mcu" in typed context
  271. pitop/pma/ultrasonic_sensor_base.py:164: error: Function is missing a return type annotation
  272. pitop/pma/ultrasonic_sensor_base.py:164: note: Use "-> None" if function does not return a value
  273. pitop/pma/ultrasonic_sensor_base.py:171: error: Function is missing a return type annotation
  274. pitop/pma/ultrasonic_sensor_base.py:177: error: Function is missing a return type annotation
  275. pitop/pma/ultrasonic_sensor_base.py:177: note: Use "-> None" if function does not return a value
  276. pitop/pma/ultrasonic_sensor_base.py:184: error: Function is missing a return type annotation
  277. pitop/pma/ultrasonic_sensor_base.py:184: note: Use "-> None" if function does not return a value
  278. pitop/pma/ultrasonic_sensor_base.py:190: error: Function is missing a return type annotation
  279. pitop/pma/ultrasonic_sensor_base.py:193: error: Function is missing a type annotation
  280. pitop/pma/ultrasonic_sensor_base.py:196: error: Function is missing a type annotation
  281. pitop/pma/ultrasonic_sensor_base.py:199: error: Function is missing a return type annotation
  282. pitop/pma/ultrasonic_sensor_base.py:199: note: Use "-> None" if function does not return a value
  283. pitop/pma/ultrasonic_sensor_base.py:204: error: Function is missing a type annotation
  284. pitop/pma/ultrasonic_sensor_base.py:205: error: Call to untyped function "__read_distance" in typed context
  285. pitop/pma/ultrasonic_sensor_base.py:211: error: Function is missing a return type annotation
  286. pitop/pma/ultrasonic_sensor_base.py:211: note: Use "-> None" if function does not return a value
  287. pitop/pma/ultrasonic_sensor_base.py:215: error: Call to untyped function "__check_for_state_change" in typed context
  288. pitop/pma/ultrasonic_sensor_base.py:217: error: Function is missing a return type annotation
  289. pitop/pma/ultrasonic_sensor_base.py:217: note: Use "-> None" if function does not return a value
  290. pitop/pma/ultrasonic_sensor_base.py:218: error: Call to untyped function "__inactive_criteria" in typed context
  291. pitop/pma/ultrasonic_sensor_base.py:219: error: Call to untyped function "__was_deactivated" in typed context
  292. pitop/pma/ultrasonic_sensor_base.py:221: error: Call to untyped function "__active_criteria" in typed context
  293. pitop/pma/ultrasonic_sensor_base.py:222: error: Call to untyped function "__was_activated" in typed context
  294. pitop/pma/ultrasonic_sensor_base.py:225: error: Function is missing a return type annotation
  295. pitop/pma/ultrasonic_sensor_base.py:228: error: Function is missing a return type annotation
  296. pitop/pma/ultrasonic_sensor_base.py:229: error: Call to untyped function "__active_criteria" in typed context
  297. pitop/pma/ultrasonic_sensor_base.py:231: error: Function is missing a return type annotation
  298. pitop/pma/ultrasonic_sensor_base.py:231: note: Use "-> None" if function does not return a value
  299. pitop/pma/ultrasonic_sensor_base.py:238: error: Function is missing a return type annotation
  300. pitop/pma/ultrasonic_sensor_base.py:238: note: Use "-> None" if function does not return a value
  301. pitop/pma/ultrasonic_sensor_base.py:245: error: Function is missing a return type annotation
  302. pitop/pma/ultrasonic_sensor_base.py:245: note: Use "-> None" if function does not return a value
  303. pitop/pma/ultrasonic_sensor_base.py:252: error: Function is missing a return type annotation
  304. pitop/pma/ultrasonic_sensor_base.py:269: error: Class cannot subclass "SmoothedInputDevice" (has type "Any")
  305. pitop/pma/ultrasonic_sensor_base.py:272: error: Function is missing a type annotation
  306. pitop/pma/ultrasonic_sensor_base.py:287: error: Call to untyped function "get_pin_for_port" in typed context
  307. pitop/pma/ultrasonic_sensor_base.py:310: error: Call to untyped function "close" in typed context
  308. pitop/pma/ultrasonic_sensor_base.py:313: error: Function is missing a return type annotation
  309. pitop/pma/ultrasonic_sensor_base.py:313: note: Use "-> None" if function does not return a value
  310. pitop/pma/ultrasonic_sensor_base.py:315: error: Call to untyped function "close" of "UltrasonicSensorBase" in typed context
  311. pitop/pma/ultrasonic_sensor_base.py:323: error: Function is missing a return type annotation
  312. pitop/pma/ultrasonic_sensor_base.py:327: error: Function is missing a return type annotation
  313. pitop/pma/ultrasonic_sensor_base.py:330: error: Function is missing a type annotation
  314. pitop/pma/ultrasonic_sensor_base.py:337: error: Function is missing a return type annotation
  315. pitop/pma/ultrasonic_sensor_base.py:35: error: Function is missing a return type annotation
  316. pitop/pma/ultrasonic_sensor_base.py:376: error: Function is missing a return type annotation
  317. pitop/pma/ultrasonic_sensor_base.py:39: error: Function is missing a type annotation
  318. pitop/pma/ultrasonic_sensor_base.py:47: error: Function is missing a return type annotation
  319. pitop/pma/ultrasonic_sensor_base.py:51: error: Function is missing a type annotation
  320. pitop/pma/ultrasonic_sensor_base.py:55: error: Function is missing a return type annotation
  321. pitop/pma/ultrasonic_sensor_base.py:56: error: Unsupported left operand type for * ("Callable[[], Any]")
  322. pitop/pma/ultrasonic_sensor_base.py:59: error: Function is missing a return type annotation
  323. pitop/pma/ultrasonic_sensor_base.py:59: note: Use "-> None" if function does not return a value
  324. pitop/pma/ultrasonic_sensor_base.py:63: error: Function is missing a return type annotation
  325. pitop/pma/ultrasonic_sensor_base.py:63: note: Use "-> None" if function does not return a value
  326. pitop/pma/ultrasonic_sensor_base.py:67: error: Function is missing a return type annotation
  327. pitop/pma/ultrasonic_sensor_base.py:67: note: Use "-> None" if function does not return a value
  328. pitop/pma/ultrasonic_sensor_base.py:71: error: Function is missing a return type annotation
  329. pitop/pma/ultrasonic_sensor_base.py:71: note: Use "-> None" if function does not return a value
  330. pitop/pma/ultrasonic_sensor_base.py:75: error: Function is missing a type annotation
  331. pitop/pma/ultrasonic_sensor_base.py:79: error: Function is missing a type annotation
  332. pitop/pma/ultrasonic_sensor_base.py:86: error: Function is missing a return type annotation
  333. pitop/pma/ultrasonic_sensor_base.py:86: note: Use "-> None" if function does not return a value
  334. pitop/pma/ultrasonic_sensor_base.py:87: error: Call to untyped function "check" in typed context
  335. pitop/pma/ultrasonic_sensor_base.py:89: error: Function is missing a return type annotation
  336. pitop/pma/ultrasonic_sensor_base.py:89: note: Use "-> None" if function does not return a value
Advertisement
Add Comment
Please, Sign In to add comment