Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pitopcli/__main__.py:21: error: Function is missing a return type annotation
- pitopcli/__main__.py:39: error: Call to untyped function "add_parser_arguments" of "CliBaseClass" in typed context
- pitopcli/__main__.py:40: error: Cannot assign to a method
- pitopcli/__main__.py:40: error: Incompatible types in assignment (expression has type "ArgumentParser", variable has type "Callable[[CliBaseClass], Any]")
- pitopcli/__main__.py:45: error: Function is missing a type annotation
- pitopcli/__main__.py:51: error: "None" not callable
- pitopcli/__main__.py:51: error: Cannot instantiate abstract class "CliBaseClass" with abstract attributes "__init__", "add_parser_arguments", "cli_name", "parser_help" and "run"
- pitopcli/__main__.py:56: error: "Callable[[CliBaseClass], Any]" has no attribute "print_help"
- pitopcli/__main__.py:63: error: Function is missing a return type annotation
- pitopcli/__main__.py:64: error: Call to untyped function "get_parser" in typed context
- pitopcli/__main__.py:70: error: Call to untyped function "run" in typed context
- pitopcli/battery.py:10: error: Need type annotation for "args_order" (hint: "args_order: List[<type>] = ...")
- pitopcli/battery.py:32: error: Call to untyped function "get_full_state" of "Battery" in typed context
- pitopcli/battery.py:61: error: Function is missing a type annotation
- pitopcli/battery.py:89: error: Function is missing a return type annotation
- pitopcli/battery.py:89: note: Use "-> None" if function does not return a value
- pitopcli/battery.py:8: error: Function is missing a type annotation for one or more arguments
- pitopcli/battery.py:92: error: Call to untyped function "run" in typed context
- pitopcli/battery.py:96: error: Call to untyped function "main" in typed context
- pitopcli/cli_base.py:16: error: Function is missing a type annotation
- pitopcli/cli_base.py:25: error: Function is missing a return type annotation
- pitopcli/cli_base.py:25: note: Use "-> None" if function does not return a value
- pitopcli/cli_base.py:31: error: Function is missing a type annotation
- pitopcli/cli_base.py:41: error: Function is missing a return type annotation
- pitopcli/cli_base.py:41: note: Use "-> None" if function does not return a value
- pitopcli/cli_base.py:47: error: Function is missing a return type annotation
- pitopcli/cli_base.py:47: note: Use "-> None" if function does not return a value
- pitopcli/cli_base.py:52: error: Function is missing a return type annotation
- pitopcli/cli_base.py:52: note: Use "-> None" if function does not return a value
- pitopcli/cli_base.py:56: error: Function is missing a return type annotation
- pitopcli/cli_base.py:56: note: Use "-> None" if function does not return a value
- 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]")
- 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]")
- pitopcli/deprecated_cli_runner.py:15: error: Function is missing a type annotation
- pitopcli/deprecated_cli_runner.py:25: error: Function is missing a type annotation
- pitopcli/deprecated_cli_runner.py:42: error: Call to untyped function "__run" in typed context
- pitopcli/deprecated_cli_runner.py:45: error: Function is missing a type annotation
- pitopcli/deprecated_cli_runner.py:61: error: Call to untyped function "__run" in typed context
- pitopcli/deprecated_cli_runner.py:7: error: Missing type parameters for generic type "dict"
- pitopcli/devices.py:101: error: Call to untyped function "add_common_arguments" in typed context
- pitopcli/devices.py:122: error: Function is missing a return type annotation
- pitopcli/devices.py:122: note: Use "-> None" if function does not return a value
- pitopcli/devices.py:125: error: Call to untyped function "run" in typed context
- pitopcli/devices.py:128: error: Function is missing a return type annotation
- pitopcli/devices.py:128: note: Use "-> None" if function does not return a value
- pitopcli/devices.py:132: error: Call to untyped function "run_with_args" in typed context
- pitopcli/devices.py:141: error: Call to untyped function "main" in typed context
- pitopcli/devices.py:18: error: Function is missing a type annotation for one or more arguments
- pitopcli/devices.py:22: error: Function is missing a type annotation
- pitopcli/devices.py:27: error: Function is missing a type annotation
- pitopcli/devices.py:41: error: Function is missing a type annotation
- pitopcli/devices.py:51: error: Call to untyped function "device_info" in typed context
- pitopcli/devices.py:54: error: Call to untyped function "print_header" in typed context
- pitopcli/devices.py:55: error: Call to untyped function "print_hub_line" in typed context
- pitopcli/devices.py:65: error: Call to untyped function "print_header" in typed context
- pitopcli/devices.py:71: error: Call to untyped function "pitop_peripherals" in typed context
- pitopcli/devices.py:72: error: Call to untyped function "print_peripheral_line" in typed context
- pitopcli/devices.py:81: error: Function is missing a type annotation for one or more arguments
- pitopcli/devices.py:82: error: Function is missing a type annotation
- pitopcli/devices.py:97: error: Call to untyped function "add_common_arguments" in typed context
- pitopcli/display.py:107: error: Function is missing a type annotation
- pitopcli/display.py:10: error: Function is missing a type annotation for one or more arguments
- pitopcli/display.py:129: error: Function is missing a return type annotation
- pitopcli/display.py:129: note: Use "-> None" if function does not return a value
- pitopcli/display.py:132: error: Call to untyped function "run" in typed context
- pitopcli/display.py:135: error: Function is missing a return type annotation
- pitopcli/display.py:135: note: Use "-> None" if function does not return a value
- pitopcli/display.py:140: error: Call to untyped function "add_brightness_arguments" of "DisplayCLI" in typed context
- pitopcli/display.py:142: error: Incompatible types in assignment (expression has type "Dict[str, Any]", variable has type "Namespace")
- pitopcli/display.py:147: error: Call to untyped function "run_with_args" in typed context
- pitopcli/display.py:156: error: Call to untyped function "main" in typed context
- pitopcli/display.py:44: error: Call to untyped function "Display" in typed context
- pitopcli/display.py:48: error: Call to untyped function "increment_brightness" in typed context
- pitopcli/display.py:50: error: Call to untyped function "decrement_brightness" in typed context
- pitopcli/display.py:72: error: Function is missing a type annotation for one or more arguments
- pitopcli/display.py:84: error: Call to untyped function "add_brightness_arguments" in typed context
- pitopcli/formatter.py:107: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
- pitopcli/formatter.py:16: error: Function is missing a type annotation
- pitopcli/formatter.py:20: error: Function is missing a type annotation
- pitopcli/formatter.py:24: error: Function is missing a type annotation
- pitopcli/formatter.py:28: error: Function is missing a type annotation
- pitopcli/formatter.py:30: error: Call to untyped function "bold" of "StdoutFormat" in typed context
- pitopcli/formatter.py:34: error: Function is missing a type annotation
- pitopcli/formatter.py:36: error: Call to untyped function "dim" of "StdoutFormat" in typed context
- pitopcli/formatter.py:40: error: Function is missing a type annotation
- pitopcli/formatter.py:42: error: Call to untyped function "dim" of "StdoutFormat" in typed context
- pitopcli/formatter.py:46: error: Function is missing a type annotation
- pitopcli/formatter.py:51: error: Function is missing a type annotation
- pitopcli/formatter.py:55: error: Function is missing a type annotation
- pitopcli/formatter.py:58: error: Call to untyped function "bold" of "StdoutFormat" in typed context
- pitopcli/formatter.py:58: error: Call to untyped function "clickable_text" of "StdoutFormat" in typed context
- pitopcli/formatter.py:65: error: Function is missing a type annotation
- pitopcli/formatter.py:72: error: Function is missing a return type annotation
- pitopcli/formatter.py:72: note: Use "-> None" if function does not return a value
- pitopcli/formatter.py:76: error: Function is missing a type annotation
- pitopcli/formatter.py:77: error: Call to untyped function "analyze_data" in typed context
- pitopcli/formatter.py:80: error: Function is missing a type annotation
- pitopcli/formatter.py:89: error: Function is missing a type annotation
- pitopcli/formatter.py:90: error: Incompatible types in assignment (expression has type "None", variable has type "Callable[[Any], Any]")
- pitopcli/formatter.py:91: error: Call to untyped function "add_section" in typed context
- pitopcli/formatter.py:92: error: Call to untyped function "print" in typed context
- pitopcli/formatter.py:94: error: Function is missing a return type annotation
- pitopcli/formatter.py:94: note: Use "-> None" if function does not return a value
- pitopcli/formatter.py:97: error: Call to untyped function (unknown) in typed context
- pitopcli/imu.py:17: error: Function is missing a type annotation for one or more arguments
- pitopcli/imu.py:24: error: Call to untyped function "device_type" in typed context
- pitopcli/imu.py:33: error: Item "None" of "Optional[Dict[str, int]]" has no attribute "get"
- pitopcli/imu.py:49: error: Call to untyped function "ImuCalibration" in typed context
- pitopcli/imu.py:50: error: Call to untyped function "calibrate_magnetometer" in typed context
- pitopcli/imu.py:51: error: Call to untyped function "plot_graphs" in typed context
- pitopcli/imu.py:57: error: Function is missing a type annotation for one or more arguments
- pitopcli/imu_calibration.py:109: error: Value of type "Optional[Any]" is not indexable
- pitopcli/imu_calibration.py:110: error: Value of type "Optional[Any]" is not indexable
- pitopcli/imu_calibration.py:111: error: Value of type "Optional[Any]" is not indexable
- pitopcli/imu_calibration.py:123: error: Call to untyped function "plot_ellipsoid" in typed context
- pitopcli/imu_calibration.py:154: error: Function is missing a return type annotation
- pitopcli/imu_calibration.py:154: note: Use "-> None" if function does not return a value
- pitopcli/imu_calibration.py:155: error: Call to untyped function "ImuController" in typed context
- pitopcli/imu_calibration.py:208: error: Function is missing a return type annotation
- pitopcli/imu_calibration.py:227: error: Function is missing a return type annotation
- pitopcli/imu_calibration.py:231: error: Function is missing a type annotation
- pitopcli/imu_calibration.py:236: error: Function is missing a type annotation
- pitopcli/imu_calibration.py:241: error: Function is missing a type annotation
- pitopcli/imu_calibration.py:254: error: Call to untyped function "accelerometer_orientation" in typed context
- pitopcli/imu_calibration.py:255: error: Call to untyped function (unknown) in typed context
- pitopcli/imu_calibration.py:260: error: Function is missing a return type annotation
- pitopcli/imu_calibration.py:267: error: Function is missing a type annotation
- pitopcli/imu_calibration.py:292: error: Call to untyped function "__running_median" in typed context
- pitopcli/imu_calibration.py:303: error: Function is missing a type annotation
- pitopcli/imu_calibration.py:308: error: Function is missing a return type annotation
- pitopcli/imu_calibration.py:31: error: Function is missing a return type annotation
- pitopcli/imu_calibration.py:31: note: Use "-> None" if function does not return a value
- pitopcli/imu_calibration.py:32: error: Call to untyped function "ImuController" in typed context
- pitopcli/imu_calibration.py:331: error: Function is missing a return type annotation
- pitopcli/imu_calibration.py:336: error: Call to untyped function "least_squares_ellipsoid_fit" in typed context
- pitopcli/imu_calibration.py:340: error: Function is missing a type annotation
- pitopcli/imu_calibration.py:359: error: Call to untyped function "calibrate_magnetometer" in typed context
- pitopcli/imu_calibration.py:368: error: Function is missing a return type annotation
- pitopcli/imu_calibration.py:51: error: Function is missing a return type annotation
- pitopcli/imu_calibration.py:54: error: Function is missing a type annotation
- pitopcli/imu_calibration.py:62: error: Call to untyped function "__get_test_data" in typed context
- pitopcli/imu_calibration.py:73: error: Call to untyped function "__get_field_strength" in typed context
- pitopcli/imu_calibration.py:75: error: Call to untyped function "__get_ellipse_parameters" in typed context
- pitopcli/imu_calibration.py:81: error: Call to untyped function "get_ellipsoid_geometric_params" in typed context
- pitopcli/imu_calibration.py:86: error: Call to untyped function "__get_calibration_matrices" in typed context
- pitopcli/imu_calibration.py:91: error: Call to untyped function "__calibrate_mag_data" in typed context
- pitopcli/imu_calibration.py:94: error: Call to untyped function "write_mag_cal_params" in typed context
- pitopcli/imu_calibration.py:98: error: Function is missing a type annotation
- pitopcli/oled.py:13: error: Function is missing a type annotation for one or more arguments
- pitopcli/oled.py:188: error: Function is missing a return type annotation
- pitopcli/oled.py:188: note: Use "-> None" if function does not return a value
- pitopcli/oled.py:191: error: Call to untyped function "run" in typed context
- pitopcli/oled.py:195: error: Call to untyped function "main" in typed context
- pitopcli/oled.py:22: error: Function is missing a type annotation
- pitopcli/oled.py:36: error: Call to untyped function "Miniscreen" in typed context
- pitopcli/oled.py:39: error: Call to untyped function "set_control_to_pi" in typed context
- pitopcli/oled.py:45: error: Call to untyped function "is_url" in typed context
- pitopcli/oled.py:46: error: Call to untyped function "play_animated_image_file" in typed context
- pitopcli/oled.py:48: error: Call to untyped function "display_multiline_text" in typed context
- pitopcli/oled.py:59: error: Call to untyped function "Miniscreen" in typed context
- pitopcli/oled.py:68: error: Call to untyped function "path_to_stored_file" in typed context
- pitopcli/oled.py:73: error: Call to untyped function "path_to_stored_file" in typed context
- pitopcli/oled.py:87: error: Function is missing a type annotation for one or more arguments
- pitopcli/support.py:11: error: Function is missing a type annotation for one or more arguments
- pitopcli/support.py:19: error: Call to untyped function "open_docs_in_browser" in typed context
- pitopcli/support.py:21: error: Call to untyped function "get_docs_url" in typed context
- pitopcli/support.py:23: error: Call to untyped function "print_docs" in typed context
- pitopcli/support.py:25: error: Call to untyped function "print_other" in typed context
- pitopcli/support.py:27: error: Call to untyped function "print_docs" in typed context
- pitopcli/support.py:28: error: Call to untyped function "print_other" in typed context
- pitopcli/support.py:31: error: Call to untyped function "run" in typed context
- pitopcli/support.py:35: error: Function is missing a type annotation for one or more arguments
- pitopcli/support_core/health_check.py:128: error: Function is missing a return type annotation
- pitopcli/support_core/health_check.py:128: note: Use "-> None" if function does not return a value
- pitopcli/support_core/health_check.py:129: error: Call to untyped function "print_header" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:133: error: Call to untyped function "print_raspberry_pi_device_info" in typed context
- pitopcli/support_core/health_check.py:136: error: Call to untyped function "StdoutTable" in typed context
- pitopcli/support_core/health_check.py:137: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/health_check.py:137: error: Call to untyped function "get_pt_devices_status" in typed context
- pitopcli/support_core/health_check.py:138: error: Call to untyped function "print" in typed context
- pitopcli/support_core/health_check.py:140: error: Call to untyped function "StdoutTable" in typed context
- pitopcli/support_core/health_check.py:141: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/health_check.py:141: error: Call to untyped function "get_system_information" in typed context
- pitopcli/support_core/health_check.py:142: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/health_check.py:144: error: Call to untyped function "get_raspi_config_settings" in typed context
- pitopcli/support_core/health_check.py:146: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/health_check.py:148: error: Call to untyped function "get_raspi_config_settings" in typed context
- pitopcli/support_core/health_check.py:150: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/health_check.py:152: error: Call to untyped function "get_raspi_config_settings" in typed context
- pitopcli/support_core/health_check.py:154: error: Call to untyped function "print" in typed context
- pitopcli/support_core/health_check.py:157: error: Call to untyped function "print_section" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:158: error: Call to untyped function "print_network_settings" in typed context
- pitopcli/support_core/health_check.py:161: error: Call to untyped function "print_section" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:163: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:164: error: Call to untyped function "print_pt_systemd_status" in typed context
- pitopcli/support_core/health_check.py:166: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:167: error: Call to untyped function "StdoutTable" in typed context
- pitopcli/support_core/health_check.py:167: error: Call to untyped function "get_pt_installed_software" in typed context
- pitopcli/support_core/health_check.py:167: error: Call to untyped function "print_data" in typed context
- pitopcli/support_core/health_check.py:169: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:170: error: Call to untyped function "print_apt_sources" in typed context
- pitopcli/support_core/health_check.py:173: error: Call to untyped function "print_section" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:175: error: Call to untyped function "HubCommunication" in typed context
- pitopcli/support_core/health_check.py:176: error: Call to untyped function "print_hub_registers" in typed context
- pitopcli/support_core/health_check.py:180: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:181: error: Call to untyped function "print_dmesg" in typed context
- pitopcli/support_core/health_check.py:183: error: Function is missing a return type annotation
- pitopcli/support_core/health_check.py:185: error: Call to untyped function "pitop_peripherals" in typed context
- pitopcli/support_core/health_check.py:193: error: Function is missing a return type annotation
- pitopcli/support_core/health_check.py:193: note: Use "-> None" if function does not return a value
- pitopcli/support_core/health_check.py:200: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:202: error: Function is missing a return type annotation
- pitopcli/support_core/health_check.py:202: note: Use "-> None" if function does not return a value
- pitopcli/support_core/health_check.py:208: error: Call to untyped function "StdoutTable" in typed context
- pitopcli/support_core/health_check.py:209: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/health_check.py:210: error: Call to untyped function "print" in typed context
- pitopcli/support_core/health_check.py:212: error: Call to untyped function "device_type" in typed context
- pitopcli/support_core/health_check.py:213: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:216: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:219: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:220: error: Call to untyped function "print_vcgenmod_settings" in typed context
- pitopcli/support_core/health_check.py:222: error: Function is missing a return type annotation
- pitopcli/support_core/health_check.py:222: note: Use "-> None" if function does not return a value
- pitopcli/support_core/health_check.py:223: error: Call to untyped function "StdoutTable" in typed context
- pitopcli/support_core/health_check.py:22: error: Function is missing a type annotation
- pitopcli/support_core/health_check.py:232: error: Call to untyped function "print_data" in typed context
- pitopcli/support_core/health_check.py:234: error: Function is missing a return type annotation
- pitopcli/support_core/health_check.py:236: error: Call to untyped function "get_debian_version" in typed context
- pitopcli/support_core/health_check.py:237: error: Call to untyped function "get_uname_release" in typed context
- pitopcli/support_core/health_check.py:238: error: Call to untyped function "get_uname_version" in typed context
- pitopcli/support_core/health_check.py:241: error: Call to untyped function "get_pitopOS_info" in typed context
- pitopcli/support_core/health_check.py:247: error: Function is missing a type annotation
- pitopcli/support_core/health_check.py:253: error: Function is missing a type annotation
- pitopcli/support_core/health_check.py:257: error: Call to untyped function "get_raspi_config_setting_value" in typed context
- pitopcli/support_core/health_check.py:266: error: Function is missing a return type annotation
- pitopcli/support_core/health_check.py:266: note: Use "-> None" if function does not return a value
- pitopcli/support_core/health_check.py:267: error: Function is missing a type annotation
- pitopcli/support_core/health_check.py:276: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:280: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:288: error: Call to untyped function "StdoutTable" in typed context
- pitopcli/support_core/health_check.py:289: error: Call to untyped function "print_data" in typed context
- pitopcli/support_core/health_check.py:291: error: Call to untyped function "StdoutTable" in typed context
- pitopcli/support_core/health_check.py:292: error: Call to untyped function "print_data" in typed context
- pitopcli/support_core/health_check.py:294: error: Call to untyped function "get_raspi_config_setting_value" in typed context
- pitopcli/support_core/health_check.py:297: error: Call to untyped function "get_raspi_config_setting_value" in typed context
- pitopcli/support_core/health_check.py:307: error: Call to untyped function "print_subsection" of "StdoutFormat" in typed context
- pitopcli/support_core/health_check.py:308: error: Call to untyped function "print_interface_info" in typed context
- pitopcli/support_core/health_check.py:30: error: Call to untyped function "str_to_bool" in typed context
- pitopcli/support_core/hub_communication.py:100: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:101: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:102: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:105: error: Call to untyped function "int_to_mac_address" in typed context
- pitopcli/support_core/hub_communication.py:105: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
- pitopcli/support_core/hub_communication.py:107: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:108: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:109: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:10: error: Function is missing a return type annotation
- pitopcli/support_core/hub_communication.py:10: note: Use "-> None" if function does not return a value
- pitopcli/support_core/hub_communication.py:110: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:111: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:113: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/hub_communication.py:116: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:117: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:118: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:119: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:120: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:121: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:122: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:123: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:125: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/hub_communication.py:130: error: Call to untyped function "int_to_binary" in typed context
- pitopcli/support_core/hub_communication.py:130: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:134: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:138: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:140: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:143: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:145: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:146: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:147: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:148: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:149: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:152: error: Call to untyped function "int_to_hex" in typed context
- pitopcli/support_core/hub_communication.py:152: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:155: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/hub_communication.py:158: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:15: error: Call to untyped function "connect" in typed context
- pitopcli/support_core/hub_communication.py:161: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:163: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:164: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:165: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:166: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:167: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:168: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:169: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:170: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:171: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:172: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:173: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:176: error: Call to untyped function "int_to_date" in typed context
- pitopcli/support_core/hub_communication.py:176: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:178: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:180: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/hub_communication.py:185: error: Call to untyped function "int_to_binary" in typed context
- pitopcli/support_core/hub_communication.py:185: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:189: error: Call to untyped function "int_to_date_unix" in typed context
- pitopcli/support_core/hub_communication.py:189: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
- pitopcli/support_core/hub_communication.py:192: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/hub_communication.py:195: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:198: error: Call to untyped function "int_to_binary" in typed context
- pitopcli/support_core/hub_communication.py:198: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:202: error: Call to untyped function "int_to_binary" in typed context
- pitopcli/support_core/hub_communication.py:202: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:206: error: Call to untyped function "int_to_binary" in typed context
- pitopcli/support_core/hub_communication.py:206: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:209: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/hub_communication.py:212: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:213: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:214: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:215: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:216: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:219: error: Call to untyped function "int_to_hex" in typed context
- pitopcli/support_core/hub_communication.py:219: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:223: error: Call to untyped function "int_to_hex" in typed context
- pitopcli/support_core/hub_communication.py:223: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:227: error: Call to untyped function "int_to_hex" in typed context
- pitopcli/support_core/hub_communication.py:227: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
- pitopcli/support_core/hub_communication.py:231: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:235: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:237: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:238: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:239: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:242: error: Call to untyped function "int_to_hex" in typed context
- pitopcli/support_core/hub_communication.py:242: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:246: error: Call to untyped function "int_to_hex" in typed context
- pitopcli/support_core/hub_communication.py:246: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:250: error: Call to untyped function "int_to_hex" in typed context
- pitopcli/support_core/hub_communication.py:250: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
- pitopcli/support_core/hub_communication.py:253: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/hub_communication.py:255: error: Item "None" of "Optional[I2CDevice]" has no attribute "disconnect"
- pitopcli/support_core/hub_communication.py:256: error: Call to untyped function "print" in typed context
- pitopcli/support_core/hub_communication.py:25: error: Function is missing a type annotation
- pitopcli/support_core/hub_communication.py:28: error: Function is missing a type annotation
- pitopcli/support_core/hub_communication.py:31: error: Function is missing a type annotation
- pitopcli/support_core/hub_communication.py:36: error: Function is missing a type annotation
- pitopcli/support_core/hub_communication.py:45: error: Function is missing a type annotation
- pitopcli/support_core/hub_communication.py:51: error: Function is missing a return type annotation
- pitopcli/support_core/hub_communication.py:51: note: Use "-> None" if function does not return a value
- pitopcli/support_core/hub_communication.py:53: error: Call to untyped function "StdoutTable" in typed context
- pitopcli/support_core/hub_communication.py:59: error: Call to untyped function "int_to_binary" in typed context
- pitopcli/support_core/hub_communication.py:59: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:61: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:62: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:65: error: Call to untyped function "int_to_binary" in typed context
- pitopcli/support_core/hub_communication.py:65: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:69: error: Call to untyped function "int_to_binary" in typed context
- pitopcli/support_core/hub_communication.py:69: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_byte"
- pitopcli/support_core/hub_communication.py:72: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/hub_communication.py:77: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
- pitopcli/support_core/hub_communication.py:81: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
- pitopcli/support_core/hub_communication.py:85: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
- pitopcli/support_core/hub_communication.py:89: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
- pitopcli/support_core/hub_communication.py:91: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_unsigned_word"
- pitopcli/support_core/hub_communication.py:93: error: Call to untyped function "add_section" in typed context
- pitopcli/support_core/hub_communication.py:98: error: Call to untyped function "int_to_mac_address" in typed context
- pitopcli/support_core/hub_communication.py:98: error: Item "None" of "Optional[I2CDevice]" has no attribute "read_n_unsigned_bytes"
- pitopcli/support_core/links.py:14: error: Function is missing a return type annotation
- pitopcli/support_core/links.py:23: error: Function is missing a return type annotation
- pitopcli/support_core/links.py:37: error: Function is missing a return type annotation
- pitopcli/support_core/links.py:39: error: Call to untyped function "__get_online_sdk_docs_url" in typed context
- pitopcli/support_core/links.py:40: error: Call to untyped function "_is_doc_package_installed" in typed context
- pitopcli/support_core/links.py:48: error: Function is missing a return type annotation
- pitopcli/support_core/links.py:48: note: Use "-> None" if function does not return a value
- pitopcli/support_core/links.py:50: error: Call to untyped function "print_header" of "StdoutFormat" in typed context
- pitopcli/support_core/links.py:51: error: Call to untyped function "print_checkbox_line" of "StdoutFormat" in typed context
- pitopcli/support_core/links.py:54: error: Call to untyped function "__get_online_sdk_docs_url" in typed context
- pitopcli/support_core/links.py:57: error: Call to untyped function "print_checkbox_line" of "StdoutFormat" in typed context
- pitopcli/support_core/links.py:61: error: Call to untyped function "_is_doc_package_installed" in typed context
- pitopcli/support_core/links.py:64: error: Function is missing a return type annotation
- pitopcli/support_core/links.py:64: note: Use "-> None" if function does not return a value
- pitopcli/support_core/links.py:66: error: Call to untyped function "print_header" of "StdoutFormat" in typed context
- pitopcli/support_core/links.py:67: error: Call to untyped function "print_checkbox_line" of "StdoutFormat" in typed context
- pitopcli/support_core/links.py:73: error: Call to untyped function "print_checkbox_line" of "StdoutFormat" in typed context
- pitopcli/support_core/links.py:80: error: Function is missing a return type annotation
- pitopcli/support_core/links.py:80: note: Use "-> None" if function does not return a value
- pitopcli/support_core/links.py:86: error: Call to untyped function "get_docs_url" in typed context
- pitopcli/support_core/ptsoftware.py:10: error: Function is missing a return type annotation
- pitopcli/support_core/ptsoftware.py:10: note: Use "-> None" if function does not return a value
- pitopcli/support_core/ptsoftware.py:11: error: Call to untyped function "get_pt_systemd_services" in typed context
- pitopcli/support_core/ptsoftware.py:14: error: Call to untyped function "format_service" of "SystemdService" in typed context
- pitopcli/support_core/ptsoftware.py:14: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
- pitopcli/support_core/ptsoftware.py:18: error: Function is missing a return type annotation
- pitopcli/support_core/ptsoftware.py:19: error: Call to untyped function "get_pt_systemd_service_names" in typed context
- pitopcli/support_core/ptsoftware.py:20: error: Need type annotation for "services" (hint: "services: Dict[<type>, <type>] = ...")
- pitopcli/support_core/ptsoftware.py:34: error: Incompatible types in assignment (expression has type "str", variable has type "bytes")
- pitopcli/support_core/ptsoftware.py:35: error: Argument 1 to "split" of "bytes" has incompatible type "str"; expected "Optional[bytes]"
- pitopcli/support_core/ptsoftware.py:36: error: Call to untyped function "from_lines" of "SystemdService" in typed context
- pitopcli/support_core/ptsoftware.py:45: error: Function is missing a return type annotation
- pitopcli/support_core/ptsoftware.py:52: error: Function is missing a return type annotation
- pitopcli/support_core/ptsoftware.py:70: error: Function is missing a return type annotation
- pitopcli/support_core/ptsoftware.py:70: note: Use "-> None" if function does not return a value
- pitopcli/support_core/ptsoftware.py:77: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
- pitopcli/support_core/ptsoftware.py:84: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
- pitopcli/support_core/systemd_service.py:100: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:103: error: "Callable[[SystemdService], Any]" has no attribute "setter"
- pitopcli/support_core/systemd_service.py:103: error: Name "fragment_path" already defined on line 67
- pitopcli/support_core/systemd_service.py:104: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:107: error: "Callable[[SystemdService], Any]" has no attribute "setter"
- pitopcli/support_core/systemd_service.py:107: error: Name "sub_state" already defined on line 71
- pitopcli/support_core/systemd_service.py:108: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:111: error: "Callable[[SystemdService], Any]" has no attribute "setter"
- pitopcli/support_core/systemd_service.py:111: error: Name "active_enter_timestamp" already defined on line 75
- pitopcli/support_core/systemd_service.py:112: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:115: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:116: error: Call to untyped function "format_service" in typed context
- pitopcli/support_core/systemd_service.py:118: error: Call to untyped function "format_service" in typed context
- pitopcli/support_core/systemd_service.py:121: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:122: error: Call to untyped function "format_service" in typed context
- pitopcli/support_core/systemd_service.py:128: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:140: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:140: note: Use "-> None" if function does not return a value
- pitopcli/support_core/systemd_service.py:141: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
- pitopcli/support_core/systemd_service.py:142: error: Call to untyped function "bold" of "StdoutFormat" in typed context
- pitopcli/support_core/systemd_service.py:144: error: Call to untyped function "____get_loaded_line" in typed context
- pitopcli/support_core/systemd_service.py:144: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
- pitopcli/support_core/systemd_service.py:145: error: Call to untyped function "__get_active_line" in typed context
- pitopcli/support_core/systemd_service.py:145: error: Call to untyped function "print_line" of "StdoutFormat" in typed context
- pitopcli/support_core/systemd_service.py:18: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:22: error: Property "name" defined in "SystemdService" is read-only
- pitopcli/support_core/systemd_service.py:24: error: Property "load_state" defined in "SystemdService" is read-only
- pitopcli/support_core/systemd_service.py:26: error: Property "active_state" defined in "SystemdService" is read-only
- pitopcli/support_core/systemd_service.py:28: error: Property "enabled" defined in "SystemdService" is read-only
- pitopcli/support_core/systemd_service.py:30: error: Property "description" defined in "SystemdService" is read-only
- pitopcli/support_core/systemd_service.py:32: error: Property "vendor_preset" defined in "SystemdService" is read-only
- pitopcli/support_core/systemd_service.py:34: error: Property "fragment_path" defined in "SystemdService" is read-only
- pitopcli/support_core/systemd_service.py:36: error: Property "sub_state" defined in "SystemdService" is read-only
- pitopcli/support_core/systemd_service.py:38: error: Property "active_enter_timestamp" defined in "SystemdService" is read-only
- pitopcli/support_core/systemd_service.py:44: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:48: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:52: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:56: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:5: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:5: note: Use "-> None" if function does not return a value
- pitopcli/support_core/systemd_service.py:60: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:64: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:68: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:72: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:76: error: Function is missing a return type annotation
- pitopcli/support_core/systemd_service.py:79: error: "Callable[[SystemdService], Any]" has no attribute "setter"
- pitopcli/support_core/systemd_service.py:79: error: Name "name" already defined on line 43
- pitopcli/support_core/systemd_service.py:80: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:83: error: "Callable[[SystemdService], Any]" has no attribute "setter"
- pitopcli/support_core/systemd_service.py:83: error: Name "load_state" already defined on line 47
- pitopcli/support_core/systemd_service.py:84: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:87: error: "Callable[[SystemdService], Any]" has no attribute "setter"
- pitopcli/support_core/systemd_service.py:87: error: Name "active_state" already defined on line 51
- pitopcli/support_core/systemd_service.py:88: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:91: error: "Callable[[SystemdService], Any]" has no attribute "setter"
- pitopcli/support_core/systemd_service.py:91: error: Name "enabled" already defined on line 55
- pitopcli/support_core/systemd_service.py:92: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:95: error: "Callable[[SystemdService], Any]" has no attribute "setter"
- pitopcli/support_core/systemd_service.py:95: error: Name "description" already defined on line 59
- pitopcli/support_core/systemd_service.py:96: error: Function is missing a type annotation
- pitopcli/support_core/systemd_service.py:99: error: "Callable[[SystemdService], Any]" has no attribute "setter"
- 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