Guest User

Untitled

a guest
Nov 12th, 2021
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.76 KB | None | 0 0
  1. pitopcli/__main__.py:21: error: Function is missing a return type annotation
  2. pitopcli/__main__.py:39: error: Call to untyped function "add_parser_arguments" of "CliBaseClass" in typed context
  3. pitopcli/__main__.py:40: error: Cannot assign to a method
  4. pitopcli/__main__.py:40: error: Incompatible types in assignment (expression has type "ArgumentParser", variable has type "Callable[[CliBaseClass], Any]")
  5. pitopcli/__main__.py:45: error: Function is missing a type annotation
  6. pitopcli/__main__.py:51: error: "None" not callable
  7. pitopcli/__main__.py:51: error: Cannot instantiate abstract class "CliBaseClass" with abstract attributes "__init__", "add_parser_arguments", "cli_name", "parser_help" and "run"
  8. pitopcli/__main__.py:56: error: "Callable[[CliBaseClass], Any]" has no attribute "print_help"
  9. pitopcli/__main__.py:63: error: Function is missing a return type annotation
  10. pitopcli/__main__.py:64: error: Call to untyped function "get_parser" in typed context
  11. pitopcli/__main__.py:70: error: Call to untyped function "run" in typed context
  12. pitopcli/battery.py:10: error: Need type annotation for "args_order" (hint: "args_order: List[<type>] = ...")
  13. pitopcli/battery.py:32: error: Call to untyped function "get_full_state" of "Battery" in typed context
  14. pitopcli/battery.py:61: error: Function is missing a type annotation
  15. pitopcli/battery.py:89: error: Function is missing a return type annotation
  16. pitopcli/battery.py:89: note: Use "-> None" if function does not return a value
  17. pitopcli/battery.py:8: error: Function is missing a type annotation for one or more arguments
  18. pitopcli/battery.py:92: error: Call to untyped function "run" in typed context
  19. pitopcli/battery.py:96: error: Call to untyped function "main" in typed context
  20. pitopcli/cli_base.py:16: error: Function is missing a type annotation
  21. pitopcli/cli_base.py:25: error: Function is missing a return type annotation
  22. pitopcli/cli_base.py:25: note: Use "-> None" if function does not return a value
  23. pitopcli/cli_base.py:31: error: Function is missing a type annotation
  24. pitopcli/cli_base.py:41: error: Function is missing a return type annotation
  25. pitopcli/cli_base.py:41: note: Use "-> None" if function does not return a value
  26. pitopcli/cli_base.py:47: error: Function is missing a return type annotation
  27. pitopcli/cli_base.py:47: note: Use "-> None" if function does not return a value
  28. pitopcli/cli_base.py:52: error: Function is missing a return type annotation
  29. pitopcli/cli_base.py:52: note: Use "-> None" if function does not return a value
  30. pitopcli/cli_base.py:56: error: Function is missing a return type annotation
  31. pitopcli/cli_base.py:56: note: Use "-> None" if function does not return a value
  32. pitopcli/deprecated_cli_runner.py:11: error: Incompatible types in assignment (expression has type "Callable[[Dict[_KT, _VT], _KT, _VT], None]", base class "object" defined the type as "Callable[[object, str, Any], None]")
  33. pitopcli/deprecated_cli_runner.py:12: error: Incompatible types in assignment (expression has type "Callable[[Dict[_KT, _VT], _KT], None]", base class "object" defined the type as "Callable[[object, str], None]")
  34. pitopcli/deprecated_cli_runner.py:15: error: Function is missing a type annotation
  35. pitopcli/deprecated_cli_runner.py:25: error: Function is missing a type annotation
  36. pitopcli/deprecated_cli_runner.py:42: error: Call to untyped function "__run" in typed context
  37. pitopcli/deprecated_cli_runner.py:45: error: Function is missing a type annotation
  38. pitopcli/deprecated_cli_runner.py:61: error: Call to untyped function "__run" in typed context
  39. pitopcli/deprecated_cli_runner.py:7: error: Missing type parameters for generic type "dict"
  40. pitopcli/devices.py:101: error: Call to untyped function "add_common_arguments" in typed context
  41. pitopcli/devices.py:122: error: Function is missing a return type annotation
  42. pitopcli/devices.py:122: note: Use "-> None" if function does not return a value
  43. pitopcli/devices.py:125: error: Call to untyped function "run" in typed context
  44. pitopcli/devices.py:128: error: Function is missing a return type annotation
  45. pitopcli/devices.py:128: note: Use "-> None" if function does not return a value
  46. pitopcli/devices.py:132: error: Call to untyped function "run_with_args" in typed context
  47. pitopcli/devices.py:141: error: Call to untyped function "main" in typed context
  48. pitopcli/devices.py:18: error: Function is missing a type annotation for one or more arguments
  49. pitopcli/devices.py:22: error: Function is missing a type annotation
  50. pitopcli/devices.py:27: error: Function is missing a type annotation
  51. pitopcli/devices.py:41: error: Function is missing a type annotation
  52. pitopcli/devices.py:51: error: Call to untyped function "device_info" in typed context
  53. pitopcli/devices.py:54: error: Call to untyped function "print_header" in typed context
  54. pitopcli/devices.py:55: error: Call to untyped function "print_hub_line" in typed context
  55. pitopcli/devices.py:65: error: Call to untyped function "print_header" in typed context
  56. pitopcli/devices.py:71: error: Call to untyped function "pitop_peripherals" in typed context
  57. pitopcli/devices.py:72: error: Call to untyped function "print_peripheral_line" in typed context
  58. pitopcli/devices.py:81: error: Function is missing a type annotation for one or more arguments
  59. pitopcli/devices.py:82: error: Function is missing a type annotation
  60. pitopcli/devices.py:97: error: Call to untyped function "add_common_arguments" in typed context
  61. pitopcli/display.py:107: error: Function is missing a type annotation
  62. pitopcli/display.py:10: error: Function is missing a type annotation for one or more arguments
  63. pitopcli/display.py:129: error: Function is missing a return type annotation
  64. pitopcli/display.py:129: note: Use "-> None" if function does not return a value
  65. pitopcli/display.py:132: error: Call to untyped function "run" in typed context
  66. pitopcli/display.py:135: error: Function is missing a return type annotation
  67. pitopcli/display.py:135: note: Use "-> None" if function does not return a value
  68. pitopcli/display.py:140: error: Call to untyped function "add_brightness_arguments" of "DisplayCLI" in typed context
  69. pitopcli/display.py:142: error: Incompatible types in assignment (expression has type "Dict[str, Any]", variable has type "Namespace")
  70. pitopcli/display.py:147: error: Call to untyped function "run_with_args" in typed context
  71. pitopcli/display.py:156: error: Call to untyped function "main" in typed context
  72. pitopcli/display.py:44: error: Call to untyped function "Display" in typed context
  73. pitopcli/display.py:48: error: Call to untyped function "increment_brightness" in typed context
  74. pitopcli/display.py:50: error: Call to untyped function "decrement_brightness" in typed context
  75. pitopcli/display.py:72: error: Function is missing a type annotation for one or more arguments
  76. pitopcli/display.py:84: error: Call to untyped function "add_brightness_arguments" in typed context
  77. pitopcli/formatter.py:107: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
  78. pitopcli/formatter.py:16: error: Function is missing a type annotation
  79. pitopcli/formatter.py:20: error: Function is missing a type annotation
  80. pitopcli/formatter.py:24: error: Function is missing a type annotation
  81. pitopcli/formatter.py:28: error: Function is missing a type annotation
  82. pitopcli/formatter.py:30: error: Call to untyped function "bold" of "StdoutFormat" in typed context
  83. pitopcli/formatter.py:34: error: Function is missing a type annotation
  84. pitopcli/formatter.py:36: error: Call to untyped function "dim" of "StdoutFormat" in typed context
  85. pitopcli/formatter.py:40: error: Function is missing a type annotation
  86. pitopcli/formatter.py:42: error: Call to untyped function "dim" of "StdoutFormat" in typed context
  87. pitopcli/formatter.py:46: error: Function is missing a type annotation
  88. pitopcli/formatter.py:51: error: Function is missing a type annotation
  89. pitopcli/formatter.py:55: error: Function is missing a type annotation
  90. pitopcli/formatter.py:58: error: Call to untyped function "bold" of "StdoutFormat" in typed context
  91. pitopcli/formatter.py:58: error: Call to untyped function "clickable_text" of "StdoutFormat" in typed context
  92. pitopcli/formatter.py:65: error: Function is missing a type annotation
  93. pitopcli/formatter.py:72: error: Function is missing a return type annotation
  94. pitopcli/formatter.py:72: note: Use "-> None" if function does not return a value
  95. pitopcli/formatter.py:76: error: Function is missing a type annotation
  96. pitopcli/formatter.py:77: error: Call to untyped function "analyze_data" in typed context
  97. pitopcli/formatter.py:80: error: Function is missing a type annotation
  98. pitopcli/formatter.py:89: error: Function is missing a type annotation
  99. pitopcli/formatter.py:90: error: Incompatible types in assignment (expression has type "None", variable has type "Callable[[Any], Any]")
  100. pitopcli/formatter.py:91: error: Call to untyped function "add_section" in typed context
  101. pitopcli/formatter.py:92: error: Call to untyped function "print" in typed context
  102. pitopcli/formatter.py:94: error: Function is missing a return type annotation
  103. pitopcli/formatter.py:94: note: Use "-> None" if function does not return a value
  104. pitopcli/formatter.py:97: error: Call to untyped function (unknown) in typed context
  105. pitopcli/imu.py:17: error: Function is missing a type annotation for one or more arguments
  106. pitopcli/imu.py:24: error: Call to untyped function "device_type" in typed context
  107. pitopcli/imu.py:33: error: Item "None" of "Optional[Dict[str, int]]" has no attribute "get"
  108. pitopcli/imu.py:49: error: Call to untyped function "ImuCalibration" in typed context
  109. pitopcli/imu.py:50: error: Call to untyped function "calibrate_magnetometer" in typed context
  110. pitopcli/imu.py:51: error: Call to untyped function "plot_graphs" in typed context
  111. pitopcli/imu.py:57: error: Function is missing a type annotation for one or more arguments
  112. pitopcli/imu_calibration.py:109: error: Value of type "Optional[Any]" is not indexable
  113. pitopcli/imu_calibration.py:110: error: Value of type "Optional[Any]" is not indexable
  114. pitopcli/imu_calibration.py:111: error: Value of type "Optional[Any]" is not indexable
  115. pitopcli/imu_calibration.py:123: error: Call to untyped function "plot_ellipsoid" in typed context
  116. pitopcli/imu_calibration.py:154: error: Function is missing a return type annotation
  117. pitopcli/imu_calibration.py:154: note: Use "-> None" if function does not return a value
  118. pitopcli/imu_calibration.py:155: error: Call to untyped function "ImuController" in typed context
  119. pitopcli/imu_calibration.py:208: error: Function is missing a return type annotation
  120. pitopcli/imu_calibration.py:227: error: Function is missing a return type annotation
  121. pitopcli/imu_calibration.py:231: error: Function is missing a type annotation
  122. pitopcli/imu_calibration.py:236: error: Function is missing a type annotation
  123. pitopcli/imu_calibration.py:241: error: Function is missing a type annotation
  124. pitopcli/imu_calibration.py:254: error: Call to untyped function "accelerometer_orientation" in typed context
  125. pitopcli/imu_calibration.py:255: error: Call to untyped function (unknown) in typed context
  126. pitopcli/imu_calibration.py:260: error: Function is missing a return type annotation
  127. pitopcli/imu_calibration.py:267: error: Function is missing a type annotation
  128. pitopcli/imu_calibration.py:292: error: Call to untyped function "__running_median" in typed context
  129. pitopcli/imu_calibration.py:303: error: Function is missing a type annotation
  130. pitopcli/imu_calibration.py:308: error: Function is missing a return type annotation
  131. pitopcli/imu_calibration.py:31: error: Function is missing a return type annotation
  132. pitopcli/imu_calibration.py:31: note: Use "-> None" if function does not return a value
  133. pitopcli/imu_calibration.py:32: error: Call to untyped function "ImuController" in typed context
  134. pitopcli/imu_calibration.py:331: error: Function is missing a return type annotation
  135. pitopcli/imu_calibration.py:336: error: Call to untyped function "least_squares_ellipsoid_fit" in typed context
  136. pitopcli/imu_calibration.py:340: error: Function is missing a type annotation
  137. pitopcli/imu_calibration.py:359: error: Call to untyped function "calibrate_magnetometer" in typed context
  138. pitopcli/imu_calibration.py:368: error: Function is missing a return type annotation
  139. pitopcli/imu_calibration.py:51: error: Function is missing a return type annotation
  140. pitopcli/imu_calibration.py:54: error: Function is missing a type annotation
  141. pitopcli/imu_calibration.py:62: error: Call to untyped function "__get_test_data" in typed context
  142. pitopcli/imu_calibration.py:73: error: Call to untyped function "__get_field_strength" in typed context
  143. pitopcli/imu_calibration.py:75: error: Call to untyped function "__get_ellipse_parameters" in typed context
  144. pitopcli/imu_calibration.py:81: error: Call to untyped function "get_ellipsoid_geometric_params" in typed context
  145. pitopcli/imu_calibration.py:86: error: Call to untyped function "__get_calibration_matrices" in typed context
  146. pitopcli/imu_calibration.py:91: error: Call to untyped function "__calibrate_mag_data" in typed context
  147. pitopcli/imu_calibration.py:94: error: Call to untyped function "write_mag_cal_params" in typed context
  148. pitopcli/imu_calibration.py:98: error: Function is missing a type annotation
  149. pitopcli/oled.py:13: error: Function is missing a type annotation for one or more arguments
  150. pitopcli/oled.py:188: error: Function is missing a return type annotation
  151. pitopcli/oled.py:188: note: Use "-> None" if function does not return a value
  152. pitopcli/oled.py:191: error: Call to untyped function "run" in typed context
  153. pitopcli/oled.py:195: error: Call to untyped function "main" in typed context
  154. pitopcli/oled.py:22: error: Function is missing a type annotation
  155. pitopcli/oled.py:36: error: Call to untyped function "Miniscreen" in typed context
  156. pitopcli/oled.py:39: error: Call to untyped function "set_control_to_pi" in typed context
  157. pitopcli/oled.py:45: error: Call to untyped function "is_url" in typed context
  158. pitopcli/oled.py:46: error: Call to untyped function "play_animated_image_file" in typed context
  159. pitopcli/oled.py:48: error: Call to untyped function "display_multiline_text" in typed context
  160. pitopcli/oled.py:59: error: Call to untyped function "Miniscreen" in typed context
  161. pitopcli/oled.py:68: error: Call to untyped function "path_to_stored_file" in typed context
  162. pitopcli/oled.py:73: error: Call to untyped function "path_to_stored_file" in typed context
  163. pitopcli/oled.py:87: error: Function is missing a type annotation for one or more arguments
  164. pitopcli/support.py:11: error: Function is missing a type annotation for one or more arguments
  165. pitopcli/support.py:19: error: Call to untyped function "open_docs_in_browser" in typed context
  166. pitopcli/support.py:21: error: Call to untyped function "get_docs_url" in typed context
  167. pitopcli/support.py:23: error: Call to untyped function "print_docs" in typed context
  168. pitopcli/support.py:25: error: Call to untyped function "print_other" in typed context
  169. pitopcli/support.py:27: error: Call to untyped function "print_docs" in typed context
  170. pitopcli/support.py:28: error: Call to untyped function "print_other" in typed context
  171. pitopcli/support.py:31: error: Call to untyped function "run" in typed context
  172. pitopcli/support.py:35: error: Function is missing a type annotation for one or more arguments
  173. pitopcli/support_core/health_check.py:128: error: Function is missing a return type annotation
  174. pitopcli/support_core/health_check.py:128: note: Use "-> None" if function does not return a value
  175. pitopcli/support_core/health_check.py:129: error: Call to untyped function "print_header" of "StdoutFormat" in typed context
  176. pitopcli/support_core/health_check.py:133: error: Call to untyped function "print_raspberry_pi_device_info" in typed context
  177. pitopcli/support_core/health_check.py:136: error: Call to untyped function "StdoutTable" in typed context
  178. pitopcli/support_core/health_check.py:137: error: Call to untyped function "add_section" in typed context
  179. pitopcli/support_core/health_check.py:137: error: Call to untyped function "get_pt_devices_status" in typed context
  180. pitopcli/support_core/health_check.py:138: error: Call to untyped function "print" in typed context
  181. pitopcli/support_core/health_check.py:140: error: Call to untyped function "StdoutTable" in typed context
  182. pitopcli/support_core/health_check.py:141: error: Call to untyped function "add_section" in typed context
  183. pitopcli/support_core/health_check.py:141: error: Call to untyped function "get_system_information" in typed context
  184. pitopcli/support_core/health_check.py:142: error: Call to untyped function "add_section" in typed context
  185. pitopcli/support_core/health_check.py:144: error: Call to untyped function "get_raspi_config_settings" in typed context
  186. pitopcli/support_core/health_check.py:146: error: Call to untyped function "add_section" in typed context
  187. pitopcli/support_core/health_check.py:148: error: Call to untyped function "get_raspi_config_settings" in typed context
  188. pitopcli/support_core/health_check.py:150: error: Call to untyped function "add_section" in typed context
  189. pitopcli/support_core/health_check.py:152: error: Call to untyped function "get_raspi_config_settings" in typed context
  190. pitopcli/support_core/health_check.py:154: error: Call to untyped function "print" in typed context
  191. pitopcli/support_core/health_check.py:157: error: Call to untyped function "print_section" of "StdoutFormat" in typed context
  192. pitopcli/support_core/health_check.py:158: error: Call to untyped function "print_network_settings" in typed context
  193. pitopcli/support_core/health_check.py:161: error: Call to untyped function "print_section" of "StdoutFormat" in typed context
  194. pitopcli/support_core/health_check.py:163: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
  195. pitopcli/support_core/health_check.py:164: error: Call to untyped function "print_pt_systemd_status" in typed context
  196. pitopcli/support_core/health_check.py:166: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
  197. pitopcli/support_core/health_check.py:167: error: Call to untyped function "StdoutTable" in typed context
  198. pitopcli/support_core/health_check.py:167: error: Call to untyped function "get_pt_installed_software" in typed context
  199. pitopcli/support_core/health_check.py:167: error: Call to untyped function "print_data" in typed context
  200. pitopcli/support_core/health_check.py:169: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
  201. pitopcli/support_core/health_check.py:170: error: Call to untyped function "print_apt_sources" in typed context
  202. pitopcli/support_core/health_check.py:173: error: Call to untyped function "print_section" of "StdoutFormat" in typed context
  203. pitopcli/support_core/health_check.py:175: error: Call to untyped function "HubCommunication" in typed context
  204. pitopcli/support_core/health_check.py:176: error: Call to untyped function "print_hub_registers" in typed context
  205. pitopcli/support_core/health_check.py:180: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
  206. pitopcli/support_core/health_check.py:181: error: Call to untyped function "print_dmesg" in typed context
  207. pitopcli/support_core/health_check.py:183: error: Function is missing a return type annotation
  208. pitopcli/support_core/health_check.py:185: error: Call to untyped function "pitop_peripherals" in typed context
  209. pitopcli/support_core/health_check.py:193: error: Function is missing a return type annotation
  210. pitopcli/support_core/health_check.py:193: note: Use "-> None" if function does not return a value
  211. pitopcli/support_core/health_check.py:200: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
  212. pitopcli/support_core/health_check.py:202: error: Function is missing a return type annotation
  213. pitopcli/support_core/health_check.py:202: note: Use "-> None" if function does not return a value
  214. pitopcli/support_core/health_check.py:208: error: Call to untyped function "StdoutTable" in typed context
  215. pitopcli/support_core/health_check.py:209: error: Call to untyped function "add_section" in typed context
  216. pitopcli/support_core/health_check.py:210: error: Call to untyped function "print" in typed context
  217. pitopcli/support_core/health_check.py:212: error: Call to untyped function "device_type" in typed context
  218. pitopcli/support_core/health_check.py:213: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
  219. pitopcli/support_core/health_check.py:216: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
  220. pitopcli/support_core/health_check.py:219: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
  221. pitopcli/support_core/health_check.py:220: error: Call to untyped function "print_vcgenmod_settings" in typed context
  222. pitopcli/support_core/health_check.py:222: error: Function is missing a return type annotation
  223. pitopcli/support_core/health_check.py:222: note: Use "-> None" if function does not return a value
  224. pitopcli/support_core/health_check.py:223: error: Call to untyped function "StdoutTable" in typed context
  225. pitopcli/support_core/health_check.py:22: error: Function is missing a type annotation
  226. pitopcli/support_core/health_check.py:232: error: Call to untyped function "print_data" in typed context
  227. pitopcli/support_core/health_check.py:234: error: Function is missing a return type annotation
  228. pitopcli/support_core/health_check.py:236: error: Call to untyped function "get_debian_version" in typed context
  229. pitopcli/support_core/health_check.py:237: error: Call to untyped function "get_uname_release" in typed context
  230. pitopcli/support_core/health_check.py:238: error: Call to untyped function "get_uname_version" in typed context
  231. pitopcli/support_core/health_check.py:241: error: Call to untyped function "get_pitopOS_info" in typed context
  232. pitopcli/support_core/health_check.py:247: error: Function is missing a type annotation
  233. pitopcli/support_core/health_check.py:253: error: Function is missing a type annotation
  234. pitopcli/support_core/health_check.py:257: error: Call to untyped function "get_raspi_config_setting_value" in typed context
  235. pitopcli/support_core/health_check.py:266: error: Function is missing a return type annotation
  236. pitopcli/support_core/health_check.py:266: note: Use "-> None" if function does not return a value
  237. pitopcli/support_core/health_check.py:267: error: Function is missing a type annotation
  238. pitopcli/support_core/health_check.py:276: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
  239. pitopcli/support_core/health_check.py:280: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
  240. pitopcli/support_core/health_check.py:288: error: Call to untyped function "StdoutTable" in typed context
  241. pitopcli/support_core/health_check.py:289: error: Call to untyped function "print_data" in typed context
  242. pitopcli/support_core/health_check.py:291: error: Call to untyped function "StdoutTable" in typed context
  243. pitopcli/support_core/health_check.py:292: error: Call to untyped function "print_data" in typed context
  244. pitopcli/support_core/health_check.py:294: error: Call to untyped function "get_raspi_config_setting_value" in typed context
  245. pitopcli/support_core/health_check.py:297: error: Call to untyped function "get_raspi_config_setting_value" in typed context
  246. pitopcli/support_core/health_check.py:307: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
  247. pitopcli/support_core/health_check.py:308: error: Call to untyped function "print_interface_info" in typed context
  248. pitopcli/support_core/health_check.py:30: error: Call to untyped function "str_to_bool" in typed context
  249. pitopcli/support_core/hub_communication.py:100: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  250. pitopcli/support_core/hub_communication.py:101: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  251. pitopcli/support_core/hub_communication.py:102: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  252. pitopcli/support_core/hub_communication.py:105: error: Call to untyped function "int_to_mac_address" in typed context
  253. pitopcli/support_core/hub_communication.py:105: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
  254. pitopcli/support_core/hub_communication.py:107: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  255. pitopcli/support_core/hub_communication.py:108: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  256. pitopcli/support_core/hub_communication.py:109: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  257. pitopcli/support_core/hub_communication.py:10: error: Function is missing a return type annotation
  258. pitopcli/support_core/hub_communication.py:10: note: Use "-> None" if function does not return a value
  259. pitopcli/support_core/hub_communication.py:110: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  260. pitopcli/support_core/hub_communication.py:111: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  261. pitopcli/support_core/hub_communication.py:113: error: Call to untyped function "add_section" in typed context
  262. pitopcli/support_core/hub_communication.py:116: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  263. pitopcli/support_core/hub_communication.py:117: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  264. pitopcli/support_core/hub_communication.py:118: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  265. pitopcli/support_core/hub_communication.py:119: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  266. pitopcli/support_core/hub_communication.py:120: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  267. pitopcli/support_core/hub_communication.py:121: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  268. pitopcli/support_core/hub_communication.py:122: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  269. pitopcli/support_core/hub_communication.py:123: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  270. pitopcli/support_core/hub_communication.py:125: error: Call to untyped function "add_section" in typed context
  271. pitopcli/support_core/hub_communication.py:130: error: Call to untyped function "int_to_binary" in typed context
  272. pitopcli/support_core/hub_communication.py:130: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  273. pitopcli/support_core/hub_communication.py:134: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  274. pitopcli/support_core/hub_communication.py:138: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  275. pitopcli/support_core/hub_communication.py:140: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  276. pitopcli/support_core/hub_communication.py:143: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  277. pitopcli/support_core/hub_communication.py:145: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  278. pitopcli/support_core/hub_communication.py:146: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  279. pitopcli/support_core/hub_communication.py:147: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  280. pitopcli/support_core/hub_communication.py:148: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  281. pitopcli/support_core/hub_communication.py:149: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  282. pitopcli/support_core/hub_communication.py:152: error: Call to untyped function "int_to_hex" in typed context
  283. pitopcli/support_core/hub_communication.py:152: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  284. pitopcli/support_core/hub_communication.py:155: error: Call to untyped function "add_section" in typed context
  285. pitopcli/support_core/hub_communication.py:158: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  286. pitopcli/support_core/hub_communication.py:15: error: Call to untyped function "connect" in typed context
  287. pitopcli/support_core/hub_communication.py:161: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  288. pitopcli/support_core/hub_communication.py:163: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  289. pitopcli/support_core/hub_communication.py:164: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  290. pitopcli/support_core/hub_communication.py:165: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  291. pitopcli/support_core/hub_communication.py:166: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  292. pitopcli/support_core/hub_communication.py:167: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  293. pitopcli/support_core/hub_communication.py:168: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  294. pitopcli/support_core/hub_communication.py:169: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  295. pitopcli/support_core/hub_communication.py:170: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  296. pitopcli/support_core/hub_communication.py:171: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  297. pitopcli/support_core/hub_communication.py:172: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  298. pitopcli/support_core/hub_communication.py:173: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  299. pitopcli/support_core/hub_communication.py:176: error: Call to untyped function "int_to_date" in typed context
  300. pitopcli/support_core/hub_communication.py:176: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  301. pitopcli/support_core/hub_communication.py:178: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  302. pitopcli/support_core/hub_communication.py:180: error: Call to untyped function "add_section" in typed context
  303. pitopcli/support_core/hub_communication.py:185: error: Call to untyped function "int_to_binary" in typed context
  304. pitopcli/support_core/hub_communication.py:185: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  305. pitopcli/support_core/hub_communication.py:189: error: Call to untyped function "int_to_date_unix" in typed context
  306. pitopcli/support_core/hub_communication.py:189: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
  307. pitopcli/support_core/hub_communication.py:192: error: Call to untyped function "add_section" in typed context
  308. pitopcli/support_core/hub_communication.py:195: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  309. pitopcli/support_core/hub_communication.py:198: error: Call to untyped function "int_to_binary" in typed context
  310. pitopcli/support_core/hub_communication.py:198: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  311. pitopcli/support_core/hub_communication.py:202: error: Call to untyped function "int_to_binary" in typed context
  312. pitopcli/support_core/hub_communication.py:202: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  313. pitopcli/support_core/hub_communication.py:206: error: Call to untyped function "int_to_binary" in typed context
  314. pitopcli/support_core/hub_communication.py:206: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  315. pitopcli/support_core/hub_communication.py:209: error: Call to untyped function "add_section" in typed context
  316. pitopcli/support_core/hub_communication.py:212: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  317. pitopcli/support_core/hub_communication.py:213: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  318. pitopcli/support_core/hub_communication.py:214: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  319. pitopcli/support_core/hub_communication.py:215: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  320. pitopcli/support_core/hub_communication.py:216: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  321. pitopcli/support_core/hub_communication.py:219: error: Call to untyped function "int_to_hex" in typed context
  322. pitopcli/support_core/hub_communication.py:219: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  323. pitopcli/support_core/hub_communication.py:223: error: Call to untyped function "int_to_hex" in typed context
  324. pitopcli/support_core/hub_communication.py:223: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  325. pitopcli/support_core/hub_communication.py:227: error: Call to untyped function "int_to_hex" in typed context
  326. pitopcli/support_core/hub_communication.py:227: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
  327. pitopcli/support_core/hub_communication.py:231: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  328. pitopcli/support_core/hub_communication.py:235: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  329. pitopcli/support_core/hub_communication.py:237: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  330. pitopcli/support_core/hub_communication.py:238: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  331. pitopcli/support_core/hub_communication.py:239: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  332. pitopcli/support_core/hub_communication.py:242: error: Call to untyped function "int_to_hex" in typed context
  333. pitopcli/support_core/hub_communication.py:242: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  334. pitopcli/support_core/hub_communication.py:246: error: Call to untyped function "int_to_hex" in typed context
  335. pitopcli/support_core/hub_communication.py:246: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  336. pitopcli/support_core/hub_communication.py:250: error: Call to untyped function "int_to_hex" in typed context
  337. pitopcli/support_core/hub_communication.py:250: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
  338. pitopcli/support_core/hub_communication.py:253: error: Call to untyped function "add_section" in typed context
  339. pitopcli/support_core/hub_communication.py:255: error: Item "None" of "Optional[I2CDevice]" has no attribute "disconnect"
  340. pitopcli/support_core/hub_communication.py:256: error: Call to untyped function "print" in typed context
  341. pitopcli/support_core/hub_communication.py:25: error: Function is missing a type annotation
  342. pitopcli/support_core/hub_communication.py:28: error: Function is missing a type annotation
  343. pitopcli/support_core/hub_communication.py:31: error: Function is missing a type annotation
  344. pitopcli/support_core/hub_communication.py:36: error: Function is missing a type annotation
  345. pitopcli/support_core/hub_communication.py:45: error: Function is missing a type annotation
  346. pitopcli/support_core/hub_communication.py:51: error: Function is missing a return type annotation
  347. pitopcli/support_core/hub_communication.py:51: note: Use "-> None" if function does not return a value
  348. pitopcli/support_core/hub_communication.py:53: error: Call to untyped function "StdoutTable" in typed context
  349. pitopcli/support_core/hub_communication.py:59: error: Call to untyped function "int_to_binary" in typed context
  350. pitopcli/support_core/hub_communication.py:59: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  351. pitopcli/support_core/hub_communication.py:61: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  352. pitopcli/support_core/hub_communication.py:62: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  353. pitopcli/support_core/hub_communication.py:65: error: Call to untyped function "int_to_binary" in typed context
  354. pitopcli/support_core/hub_communication.py:65: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  355. pitopcli/support_core/hub_communication.py:69: error: Call to untyped function "int_to_binary" in typed context
  356. pitopcli/support_core/hub_communication.py:69: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
  357. pitopcli/support_core/hub_communication.py:72: error: Call to untyped function "add_section" in typed context
  358. pitopcli/support_core/hub_communication.py:77: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
  359. pitopcli/support_core/hub_communication.py:81: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
  360. pitopcli/support_core/hub_communication.py:85: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
  361. pitopcli/support_core/hub_communication.py:89: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
  362. pitopcli/support_core/hub_communication.py:91: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
  363. pitopcli/support_core/hub_communication.py:93: error: Call to untyped function "add_section" in typed context
  364. pitopcli/support_core/hub_communication.py:98: error: Call to untyped function "int_to_mac_address" in typed context
  365. pitopcli/support_core/hub_communication.py:98: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
  366. pitopcli/support_core/links.py:14: error: Function is missing a return type annotation
  367. pitopcli/support_core/links.py:23: error: Function is missing a return type annotation
  368. pitopcli/support_core/links.py:37: error: Function is missing a return type annotation
  369. pitopcli/support_core/links.py:39: error: Call to untyped function "__get_online_sdk_docs_url" in typed context
  370. pitopcli/support_core/links.py:40: error: Call to untyped function "_is_doc_package_installed" in typed context
  371. pitopcli/support_core/links.py:48: error: Function is missing a return type annotation
  372. pitopcli/support_core/links.py:48: note: Use "-> None" if function does not return a value
  373. pitopcli/support_core/links.py:50: error: Call to untyped function "print_header" of "StdoutFormat" in typed context
  374. pitopcli/support_core/links.py:51: error: Call to untyped function "print_checkbox_line" of "StdoutFormat" in typed context
  375. pitopcli/support_core/links.py:54: error: Call to untyped function "__get_online_sdk_docs_url" in typed context
  376. pitopcli/support_core/links.py:57: error: Call to untyped function "print_checkbox_line" of "StdoutFormat" in typed context
  377. pitopcli/support_core/links.py:61: error: Call to untyped function "_is_doc_package_installed" in typed context
  378. pitopcli/support_core/links.py:64: error: Function is missing a return type annotation
  379. pitopcli/support_core/links.py:64: note: Use "-> None" if function does not return a value
  380. pitopcli/support_core/links.py:66: error: Call to untyped function "print_header" of "StdoutFormat" in typed context
  381. pitopcli/support_core/links.py:67: error: Call to untyped function "print_checkbox_line" of "StdoutFormat" in typed context
  382. pitopcli/support_core/links.py:73: error: Call to untyped function "print_checkbox_line" of "StdoutFormat" in typed context
  383. pitopcli/support_core/links.py:80: error: Function is missing a return type annotation
  384. pitopcli/support_core/links.py:80: note: Use "-> None" if function does not return a value
  385. pitopcli/support_core/links.py:86: error: Call to untyped function "get_docs_url" in typed context
  386. pitopcli/support_core/ptsoftware.py:10: error: Function is missing a return type annotation
  387. pitopcli/support_core/ptsoftware.py:10: note: Use "-> None" if function does not return a value
  388. pitopcli/support_core/ptsoftware.py:11: error: Call to untyped function "get_pt_systemd_services" in typed context
  389. pitopcli/support_core/ptsoftware.py:14: error: Call to untyped function "format_service" of "SystemdService" in typed context
  390. pitopcli/support_core/ptsoftware.py:14: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
  391. pitopcli/support_core/ptsoftware.py:18: error: Function is missing a return type annotation
  392. pitopcli/support_core/ptsoftware.py:19: error: Call to untyped function "get_pt_systemd_service_names" in typed context
  393. pitopcli/support_core/ptsoftware.py:20: error: Need type annotation for "services" (hint: "services: Dict[<type>, <type>] = ...")
  394. pitopcli/support_core/ptsoftware.py:34: error: Incompatible types in assignment (expression has type "str", variable has type "bytes")
  395. pitopcli/support_core/ptsoftware.py:35: error: Argument 1 to "split" of "bytes" has incompatible type "str"; expected "Optional[bytes]"
  396. pitopcli/support_core/ptsoftware.py:36: error: Call to untyped function "from_lines" of "SystemdService" in typed context
  397. pitopcli/support_core/ptsoftware.py:45: error: Function is missing a return type annotation
  398. pitopcli/support_core/ptsoftware.py:52: error: Function is missing a return type annotation
  399. pitopcli/support_core/ptsoftware.py:70: error: Function is missing a return type annotation
  400. pitopcli/support_core/ptsoftware.py:70: note: Use "-> None" if function does not return a value
  401. pitopcli/support_core/ptsoftware.py:77: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
  402. pitopcli/support_core/ptsoftware.py:84: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
  403. pitopcli/support_core/systemd_service.py:100: error: Function is missing a type annotation
  404. pitopcli/support_core/systemd_service.py:103: error: "Callable[[SystemdService], Any]" has no attribute "setter"
  405. pitopcli/support_core/systemd_service.py:103: error: Name "fragment_path" already defined on line 67
  406. pitopcli/support_core/systemd_service.py:104: error: Function is missing a type annotation
  407. pitopcli/support_core/systemd_service.py:107: error: "Callable[[SystemdService], Any]" has no attribute "setter"
  408. pitopcli/support_core/systemd_service.py:107: error: Name "sub_state" already defined on line 71
  409. pitopcli/support_core/systemd_service.py:108: error: Function is missing a type annotation
  410. pitopcli/support_core/systemd_service.py:111: error: "Callable[[SystemdService], Any]" has no attribute "setter"
  411. pitopcli/support_core/systemd_service.py:111: error: Name "active_enter_timestamp" already defined on line 75
  412. pitopcli/support_core/systemd_service.py:112: error: Function is missing a type annotation
  413. pitopcli/support_core/systemd_service.py:115: error: Function is missing a return type annotation
  414. pitopcli/support_core/systemd_service.py:116: error: Call to untyped function "format_service" in typed context
  415. pitopcli/support_core/systemd_service.py:118: error: Call to untyped function "format_service" in typed context
  416. pitopcli/support_core/systemd_service.py:121: error: Function is missing a return type annotation
  417. pitopcli/support_core/systemd_service.py:122: error: Call to untyped function "format_service" in typed context
  418. pitopcli/support_core/systemd_service.py:128: error: Function is missing a type annotation
  419. pitopcli/support_core/systemd_service.py:140: error: Function is missing a return type annotation
  420. pitopcli/support_core/systemd_service.py:140: note: Use "-> None" if function does not return a value
  421. pitopcli/support_core/systemd_service.py:141: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
  422. pitopcli/support_core/systemd_service.py:142: error: Call to untyped function "bold" of "StdoutFormat" in typed context
  423. pitopcli/support_core/systemd_service.py:144: error: Call to untyped function "____get_loaded_line" in typed context
  424. pitopcli/support_core/systemd_service.py:144: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
  425. pitopcli/support_core/systemd_service.py:145: error: Call to untyped function "__get_active_line" in typed context
  426. pitopcli/support_core/systemd_service.py:145: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
  427. pitopcli/support_core/systemd_service.py:18: error: Function is missing a type annotation
  428. pitopcli/support_core/systemd_service.py:22: error: Property "name" defined in "SystemdService" is read-only
  429. pitopcli/support_core/systemd_service.py:24: error: Property "load_state" defined in "SystemdService" is read-only
  430. pitopcli/support_core/systemd_service.py:26: error: Property "active_state" defined in "SystemdService" is read-only
  431. pitopcli/support_core/systemd_service.py:28: error: Property "enabled" defined in "SystemdService" is read-only
  432. pitopcli/support_core/systemd_service.py:30: error: Property "description" defined in "SystemdService" is read-only
  433. pitopcli/support_core/systemd_service.py:32: error: Property "vendor_preset" defined in "SystemdService" is read-only
  434. pitopcli/support_core/systemd_service.py:34: error: Property "fragment_path" defined in "SystemdService" is read-only
  435. pitopcli/support_core/systemd_service.py:36: error: Property "sub_state" defined in "SystemdService" is read-only
  436. pitopcli/support_core/systemd_service.py:38: error: Property "active_enter_timestamp" defined in "SystemdService" is read-only
  437. pitopcli/support_core/systemd_service.py:44: error: Function is missing a return type annotation
  438. pitopcli/support_core/systemd_service.py:48: error: Function is missing a return type annotation
  439. pitopcli/support_core/systemd_service.py:52: error: Function is missing a return type annotation
  440. pitopcli/support_core/systemd_service.py:56: error: Function is missing a return type annotation
  441. pitopcli/support_core/systemd_service.py:5: error: Function is missing a return type annotation
  442. pitopcli/support_core/systemd_service.py:5: note: Use "-> None" if function does not return a value
  443. pitopcli/support_core/systemd_service.py:60: error: Function is missing a return type annotation
  444. pitopcli/support_core/systemd_service.py:64: error: Function is missing a return type annotation
  445. pitopcli/support_core/systemd_service.py:68: error: Function is missing a return type annotation
  446. pitopcli/support_core/systemd_service.py:72: error: Function is missing a return type annotation
  447. pitopcli/support_core/systemd_service.py:76: error: Function is missing a return type annotation
  448. pitopcli/support_core/systemd_service.py:79: error: "Callable[[SystemdService], Any]" has no attribute "setter"
  449. pitopcli/support_core/systemd_service.py:79: error: Name "name" already defined on line 43
  450. pitopcli/support_core/systemd_service.py:80: error: Function is missing a type annotation
  451. pitopcli/support_core/systemd_service.py:83: error: "Callable[[SystemdService], Any]" has no attribute "setter"
  452. pitopcli/support_core/systemd_service.py:83: error: Name "load_state" already defined on line 47
  453. pitopcli/support_core/systemd_service.py:84: error: Function is missing a type annotation
  454. pitopcli/support_core/systemd_service.py:87: error: "Callable[[SystemdService], Any]" has no attribute "setter"
  455. pitopcli/support_core/systemd_service.py:87: error: Name "active_state" already defined on line 51
  456. pitopcli/support_core/systemd_service.py:88: error: Function is missing a type annotation
  457. pitopcli/support_core/systemd_service.py:91: error: "Callable[[SystemdService], Any]" has no attribute "setter"
  458. pitopcli/support_core/systemd_service.py:91: error: Name "enabled" already defined on line 55
  459. pitopcli/support_core/systemd_service.py:92: error: Function is missing a type annotation
  460. pitopcli/support_core/systemd_service.py:95: error: "Callable[[SystemdService], Any]" has no attribute "setter"
  461. pitopcli/support_core/systemd_service.py:95: error: Name "description" already defined on line 59
  462. pitopcli/support_core/systemd_service.py:96: error: Function is missing a type annotation
  463. pitopcli/support_core/systemd_service.py:99: error: "Callable[[SystemdService], Any]" has no attribute "setter"
  464. pitopcli/support_core/systemd_service.py:99: error: Name "vendor_preset" already defined on line 63
Advertisement
Add Comment
Please, Sign In to add comment