Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pitop/common/bitwise_ops.py:106: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:126: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:140: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:151: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:162: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:174: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:174: error: Missing type parameters for generic type "list"
- pitop/common/bitwise_ops.py:34: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:34: error: Missing type parameters for generic type "list"
- pitop/common/bitwise_ops.py:45: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:57: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:67: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:77: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:7: error: Function is missing a return type annotation
- pitop/common/bitwise_ops.py:93: error: Function is missing a return type annotation
- pitop/common/command_runner.py:11: error: Function is missing a return type annotation
- pitop/common/command_runner.py:15: error: Incompatible types in assignment (expression has type "int", target has type "str")
- pitop/common/command_runner.py:19: error: Function is missing a type annotation for one or more arguments
- pitop/common/command_runner.py:19: error: Missing type parameters for generic type "Popen"
- pitop/common/command_runner.py:24: error: Call to untyped function "__get_env" in typed context
- pitop/common/command_runner.py:54: error: Call to untyped function "__get_env" in typed context
- pitop/common/command_runner.py:97: error: Incompatible return value type (got "Optional[str]", expected "str")
- pitop/common/common_ids.py:100: error: Function is missing a return type annotation
- pitop/common/common_ids.py:100: note: Use "-> None" if function does not return a value
- pitop/common/common_ids.py:110: error: Function is missing a return type annotation
- pitop/common/common_ids.py:110: note: Use "-> None" if function does not return a value
- pitop/common/common_ids.py:120: error: Function is missing a return type annotation
- pitop/common/common_ids.py:120: note: Use "-> None" if function does not return a value
- pitop/common/common_ids.py:127: error: Function is missing a return type annotation
- pitop/common/common_ids.py:127: note: Use "-> None" if function does not return a value
- pitop/common/common_ids.py:44: error: Need type annotation for "compatible_ids" (hint: "compatible_ids: List[<type>] = ...")
- pitop/common/common_ids.py:49: error: Function is missing a type annotation
- pitop/common/common_ids.py:51: error: Call to untyped function "config_pulse" in typed context
- pitop/common/common_ids.py:57: error: Call to untyped function "config_speaker_l" in typed context
- pitop/common/common_ids.py:63: error: Call to untyped function "config_speaker_m" in typed context
- pitop/common/common_ids.py:69: error: Call to untyped function "config_speaker_r" in typed context
- pitop/common/common_ids.py:75: error: Call to untyped function "config_speaker_v2" in typed context
- pitop/common/common_ids.py:81: error: Call to untyped function "config_proto_plus" in typed context
- pitop/common/common_ids.py:83: error: Function is missing a return type annotation
- pitop/common/common_ids.py:83: note: Use "-> None" if function does not return a value
- pitop/common/common_ids.py:90: error: Function is missing a return type annotation
- pitop/common/common_ids.py:90: note: Use "-> None" if function does not return a value
- pitop/common/counter.py:15: error: Function is missing a return type annotation
- pitop/common/counter.py:15: note: Use "-> None" if function does not return a value
- pitop/common/counter.py:18: error: Function is missing a return type annotation
- pitop/common/counter.py:4: error: Function is missing a type annotation
- pitop/common/counter.py:8: error: Function is missing a return type annotation
- pitop/common/current_session_info.py:19: error: Call to untyped function "get_user_using_first_display" in typed context
- pitop/common/current_session_info.py:24: error: Incompatible return value type (got "List[str]", expected "int")
- pitop/common/current_session_info.py:32: error: Argument 1 to "len" has incompatible type "int"; expected "Sized"
- pitop/common/current_session_info.py:32: error: Value of type "int" is not indexable
- pitop/common/current_session_info.py:34: error: Returning Any from function declared to return "int"
- pitop/common/current_session_info.py:37: error: Function is missing a type annotation
- pitop/common/current_session_info.py:56: error: Function is missing a return type annotation
- pitop/common/current_session_info.py:69: error: Call to untyped function "get_user_using_display" in typed context
- pitop/common/current_session_info.py:8: error: Function is missing a return type annotation
- pitop/common/file_ops.py:28: error: Function is missing a type annotation
- pitop/common/file_ops.py:33: error: Function is missing a return type annotation
- pitop/common/file_ops.py:7: error: Function is missing a type annotation
- pitop/common/firmware_device.py:105: error: Returning Any from function declared to return "int"
- pitop/common/firmware_device.py:110: error: Non-overlapping equality check (left operand type: "str", right operand type: "Literal[0]")
- pitop/common/firmware_device.py:114: error: Incompatible return value type (got "None", expected "bool")
- pitop/common/firmware_device.py:119: error: Returning Any from function declared to return "bool"
- pitop/common/firmware_device.py:123: error: Incompatible return value type (got "None", expected "int")
- pitop/common/firmware_device.py:125: error: Call to untyped function "int_to_hex" in typed context
- pitop/common/firmware_device.py:125: error: Returning Any from function declared to return "int"
- pitop/common/firmware_device.py:133: error: Incompatible return value type (got "None", expected "int")
- pitop/common/firmware_device.py:135: error: Returning Any from function declared to return "int"
- pitop/common/firmware_device.py:138: error: Returning Any from function declared to return "str"
- pitop/common/firmware_device.py:144: error: Incompatible return value type (got "None", expected "str")
- pitop/common/firmware_device.py:146: error: Call to untyped function "int_to_date_unix" in typed context
- pitop/common/firmware_device.py:146: error: Returning Any from function declared to return "str"
- pitop/common/firmware_device.py:152: error: Function is missing a type annotation for one or more arguments
- pitop/common/firmware_device.py:156: error: Returning Any from function declared to return "int"
- pitop/common/firmware_device.py:158: error: Function is missing a return type annotation
- pitop/common/firmware_device.py:158: note: Use "-> None" if function does not return a value
- pitop/common/firmware_device.py:33: error: Function is missing a type annotation
- pitop/common/firmware_device.py:37: error: Function is missing a type annotation
- pitop/common/firmware_device.py:52: error: Incompatible default for argument "send_packet_interval" (default has type "None", argument has type "float")
- pitop/common/firmware_device.py:66: error: Call to untyped function "connect" in typed context
- pitop/common/firmware_device.py:78: error: Missing type parameters for generic type "list"
- pitop/common/firmware_device.py:82: error: Returning Any from function declared to return "int"
- pitop/common/firmware_device.py:85: error: Returning Any from function declared to return "int"
- pitop/common/firmware_device.py:93: error: Returning Any from function declared to return "int"
- pitop/common/firmware_device.py:96: error: Returning Any from function declared to return "int"
- pitop/common/formatting.py:21: error: Function is missing a type annotation
- pitop/common/formatting.py:41: error: Function is missing a type annotation
- pitop/common/formatting.py:45: error: Function is missing a type annotation
- pitop/common/formatting.py:46: error: Call to untyped function "strip_whitespace" in typed context
- pitop/common/formatting.py:50: error: Function is missing a type annotation
- pitop/common/formatting.py:51: error: Call to untyped function "strip_whitespace" in typed context
- pitop/common/formatting.py:56: error: Function is missing a type annotation
- pitop/common/formatting.py:60: error: Function is missing a type annotation
- pitop/common/formatting.py:66: error: Function is missing a type annotation
- pitop/common/i2c_device.py:147: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:147: error: Function is missing a type annotation for one or more arguments
- pitop/common/i2c_device.py:154: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:157: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:157: error: Function is missing a type annotation for one or more arguments
- pitop/common/i2c_device.py:164: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:167: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:167: error: Function is missing a type annotation for one or more arguments
- pitop/common/i2c_device.py:170: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:170: error: Function is missing a type annotation for one or more arguments
- pitop/common/i2c_device.py:176: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:179: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:189: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:189: error: Missing type parameters for generic type "list"
- pitop/common/i2c_device.py:194: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:195: error: Incompatible types in assignment (expression has type "bytes", variable has type "bytearray")
- pitop/common/i2c_device.py:196: error: "None" has no attribute "write"
- pitop/common/i2c_device.py:199: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:204: error: "None" has no attribute "read"
- pitop/common/i2c_device.py:22: error: Call to untyped function "PTLock" in typed context
- pitop/common/i2c_device.py:27: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:31: error: Function is missing a type annotation
- pitop/common/i2c_device.py:39: error: Incompatible types in assignment (expression has type "FileIO", variable has type "None")
- pitop/common/i2c_device.py:40: error: Incompatible types in assignment (expression has type "FileIO", variable has type "None")
- pitop/common/i2c_device.py:42: error: No overload variant of "ioctl" matches argument types "None", "int", "int"
- pitop/common/i2c_device.py:42: note: <1 more non-matching overload not shown>
- pitop/common/i2c_device.py:42: note: def ioctl(Union[int, HasFileno], int, Union[bytearray, memoryview, array[Any]], Literal[True] = ...) -> int
- pitop/common/i2c_device.py:42: note: def ioctl(Union[int, HasFileno], int, bytes, bool = ...) -> bytes
- pitop/common/i2c_device.py:42: note: def ioctl(Union[int, HasFileno], int, int = ..., bool = ...) -> int
- pitop/common/i2c_device.py:42: note: Possible overload variants:
- pitop/common/i2c_device.py:43: error: No overload variant of "ioctl" matches argument types "None", "int", "int"
- pitop/common/i2c_device.py:43: note: <1 more non-matching overload not shown>
- pitop/common/i2c_device.py:43: note: def ioctl(Union[int, HasFileno], int, Union[bytearray, memoryview, array[Any]], Literal[True] = ...) -> int
- pitop/common/i2c_device.py:43: note: def ioctl(Union[int, HasFileno], int, bytes, bool = ...) -> bytes
- pitop/common/i2c_device.py:43: note: def ioctl(Union[int, HasFileno], int, int = ..., bool = ...) -> int
- pitop/common/i2c_device.py:43: note: Possible overload variants:
- pitop/common/i2c_device.py:47: error: "None" has no attribute "read"
- pitop/common/i2c_device.py:50: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:50: note: Use "-> None" if function does not return a value
- pitop/common/i2c_device.py:62: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:62: error: Missing type parameters for generic type "list"
- pitop/common/i2c_device.py:69: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:78: error: Function is missing a return type annotation
- pitop/common/i2c_device.py:96: error: Function is missing a return type annotation
- pitop/common/lock.py:15: error: Function is missing a type annotation
- pitop/common/lock.py:27: error: Missing return statement
- pitop/common/lock.py:34: error: Call to untyped function "is_locked" in typed context
- pitop/common/lock.py:42: error: Argument 1 to "flock" has incompatible type "Optional[TextIO]"; expected "Union[int, HasFileno]"
- pitop/common/lock.py:45: error: Missing return statement
- pitop/common/lock.py:52: error: Call to untyped function "is_locked" in typed context
- pitop/common/lock.py:60: error: Argument 1 to "flock" has incompatible type "Optional[TextIO]"; expected "Union[int, HasFileno]"
- pitop/common/lock.py:63: error: Function is missing a return type annotation
- pitop/common/lock.py:69: error: Argument 1 to "flock" has incompatible type "Optional[TextIO]"; expected "Union[int, HasFileno]"
- pitop/common/lock.py:70: error: Argument 1 to "flock" has incompatible type "Optional[TextIO]"; expected "Union[int, HasFileno]"
- pitop/common/lock.py:83: error: Function is missing a type annotation
- pitop/common/lock.py:86: error: Function is missing a return type annotation
- pitop/common/lock.py:86: note: Use "-> None" if function does not return a value
- pitop/common/notifications.py:11: error: Function is missing a type annotation for one or more arguments
- pitop/common/notifications.py:17: error: Function is missing a return type annotation
- pitop/common/notifications.py:17: note: Use "-> None" if function does not return a value
- pitop/common/notifications.py:22: error: Function is missing a type annotation for one or more arguments
- pitop/common/notifications.py:26: error: Function is missing a type annotation for one or more arguments
- pitop/common/notifications.py:30: error: Function is missing a type annotation for one or more arguments
- pitop/common/notifications.py:48: error: Incompatible default for argument "actions_manager" (default has type "None", argument has type "NotificationActionManager")
- pitop/common/notifications.py:49: error: Incompatible default for argument "urgency_level" (default has type "None", argument has type "NotificationUrgencyLevel")
- pitop/common/pt_os.py:24: error: Function is missing a return type annotation
- pitop/common/pt_os.py:28: error: Function is missing a return type annotation
- pitop/common/pt_os.py:29: error: Function is missing a type annotation
- pitop/common/pt_os.py:38: error: Function is missing a type annotation
- pitop/common/pt_os.py:48: error: Call to untyped function "file_to_dict" in typed context
- pitop/common/pt_os.py:56: error: Function is missing a type annotation
- pitop/common/pt_os.py:65: error: Call to untyped function "file_to_dict" in typed context
- pitop/common/pt_os.py:71: error: Call to untyped function "parse_ptissue" in typed context
- pitop/common/pt_os.py:73: error: Call to untyped function "parse_legacy_ptissue" in typed context
- pitop/common/pt_os.py:83: error: Function is missing a return type annotation
- pitop/common/ptdm.py:19: error: Need type annotation for "__param_types" (hint: "__param_types: Dict[<type>, <type>] = ...")
- pitop/common/ptdm.py:237: error: Function is missing a type annotation
- pitop/common/ptdm.py:243: error: Call to untyped function "is_integer" of "TypeHelper" in typed context
- pitop/common/ptdm.py:250: error: Function is missing a type annotation
- pitop/common/ptdm.py:252: error: Call to untyped function "_parse" in typed context
- pitop/common/ptdm.py:254: error: Call to untyped function "validate_parameters" in typed context
- pitop/common/ptdm.py:258: error: Function is missing a type annotation
- pitop/common/ptdm.py:266: error: Call to untyped function "validate_parameters" in typed context
- pitop/common/ptdm.py:269: error: Function is missing a return type annotation
- pitop/common/ptdm.py:278: error: Function is missing a return type annotation
- pitop/common/ptdm.py:288: error: Call to untyped function "is_integer" of "TypeHelper" in typed context
- pitop/common/ptdm.py:293: error: Call to untyped function "is_float" of "TypeHelper" in typed context
- pitop/common/ptdm.py:300: error: Function is missing a type annotation
- pitop/common/ptdm.py:303: error: Function is missing a return type annotation
- pitop/common/ptdm.py:306: error: Function is missing a return type annotation
- pitop/common/ptdm.py:309: error: Function is missing a return type annotation
- pitop/common/ptdm.py:310: error: Call to untyped function "message_id_name" in typed context
- pitop/common/ptdm.py:319: error: Function is missing a return type annotation
- pitop/common/ptdm.py:324: error: Function is missing a return type annotation
- pitop/common/ptdm.py:324: note: Use "-> None" if function does not return a value
- pitop/common/ptdm.py:328: error: Function is missing a return type annotation
- pitop/common/ptdm.py:329: error: Call to untyped function "__connect_to_socket" in typed context
- pitop/common/ptdm.py:332: error: Function is missing a type annotation
- pitop/common/ptdm.py:333: error: Call to untyped function "__cleanup" in typed context
- pitop/common/ptdm.py:335: error: Function is missing a return type annotation
- pitop/common/ptdm.py:335: note: Use "-> None" if function does not return a value
- pitop/common/ptdm.py:350: error: Function is missing a return type annotation
- pitop/common/ptdm.py:350: note: Use "-> None" if function does not return a value
- pitop/common/ptdm.py:359: error: Function is missing a type annotation
- pitop/common/ptdm.py:360: error: Call to untyped function "from_parts" of "Message" in typed context
- pitop/common/ptdm.py:361: error: Call to untyped function "send_message" in typed context
- pitop/common/ptdm.py:363: error: Function is missing a type annotation
- pitop/common/ptdm.py:370: error: Call to untyped function "__connect_to_socket" in typed context
- pitop/common/ptdm.py:373: error: Item "None" of "Optional[Any]" has no attribute "send_string"
- pitop/common/ptdm.py:374: error: Item "None" of "Optional[Any]" has no attribute "recv_string"
- pitop/common/ptdm.py:378: error: Call to untyped function "__cleanup" in typed context
- pitop/common/ptdm.py:382: error: Call to untyped function "from_string" of "Message" in typed context
- pitop/common/ptdm.py:397: error: Call to untyped function "name_for_id" of "Message" in typed context
- pitop/common/ptdm.py:408: error: Function is missing a return type annotation
- pitop/common/ptdm.py:408: note: Use "-> None" if function does not return a value
- pitop/common/ptdm.py:419: error: Function is missing a return type annotation
- pitop/common/ptdm.py:436: error: Function is missing a return type annotation
- pitop/common/ptdm.py:436: note: Use "-> None" if function does not return a value
- pitop/common/ptdm.py:445: error: Function is missing a return type annotation
- pitop/common/ptdm.py:445: note: Use "-> None" if function does not return a value
- pitop/common/ptdm.py:452: error: Item "None" of "Optional[Any]" has no attribute "recv_string"
- pitop/common/ptdm.py:453: error: Call to untyped function "from_string" of "Message" in typed context
- pitop/common/ptdm.py:456: error: Unsupported right operand type for in ("Optional[Any]")
- pitop/common/ptdm.py:457: error: Call to untyped function "invoke_callback_func_if_exists" in typed context
- pitop/common/ptdm.py:458: error: Value of type "Optional[Any]" is not indexable
- pitop/common/ptdm.py:461: error: Function is missing a type annotation
- pitop/common/ptdm.py:476: error: Function is missing a type annotation
- pitop/common/ptdm.py:479: error: Function is missing a return type annotation
- pitop/common/ptdm.py:480: error: Call to untyped function "__connect_to_socket" in typed context
- pitop/common/ptdm.py:492: error: Function is missing a return type annotation
- pitop/common/ptdm.py:492: note: Use "-> None" if function does not return a value
- pitop/common/ptdm.py:497: error: Call to untyped function "__cleanup" in typed context
- pitop/common/singleton.py:2: error: Function is missing a type annotation
- pitop/common/singleton.py:6: error: Function is missing a type annotation
- pitop/common/smbus_device.py:122: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:122: error: Function is missing a type annotation for one or more arguments
- pitop/common/smbus_device.py:129: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:132: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:132: error: Function is missing a type annotation for one or more arguments
- pitop/common/smbus_device.py:139: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:142: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:142: error: Function is missing a type annotation for one or more arguments
- pitop/common/smbus_device.py:145: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:145: error: Function is missing a type annotation for one or more arguments
- pitop/common/smbus_device.py:151: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:154: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:19: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:19: note: Use "-> None" if function does not return a value
- pitop/common/smbus_device.py:29: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:29: note: Use "-> None" if function does not return a value
- pitop/common/smbus_device.py:31: error: "None" has no attribute "close"
- pitop/common/smbus_device.py:36: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:36: error: Missing type parameters for generic type "list"
- pitop/common/smbus_device.py:41: error: "None" has no attribute "write_i2c_block_data"
- pitop/common/smbus_device.py:45: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:51: error: "None" has no attribute "write_byte_data"
- pitop/common/smbus_device.py:53: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:68: error: Function is missing a return type annotation
- pitop/common/smbus_device.py:87: error: "None" has no attribute "read_i2c_block_data"
- pitop/common/sys_info.py:102: error: Function is missing a return type annotation
- pitop/common/sys_info.py:111: error: Function is missing a return type annotation
- pitop/common/sys_info.py:120: error: Function is missing a return type annotation
- pitop/common/sys_info.py:132: error: Function is missing a return type annotation
- pitop/common/sys_info.py:13: error: Function is missing a return type annotation
- pitop/common/sys_info.py:147: error: Function is missing a return type annotation
- pitop/common/sys_info.py:152: error: Function is missing a return type annotation
- pitop/common/sys_info.py:157: error: Function is missing a return type annotation
- pitop/common/sys_info.py:162: error: Function is missing a return type annotation
- pitop/common/sys_info.py:17: error: Function is missing a return type annotation
- pitop/common/sys_info.py:183: error: Function is missing a type annotation
- pitop/common/sys_info.py:195: error: Function is missing a return type annotation
- pitop/common/sys_info.py:196: error: Function is missing a type annotation
- pitop/common/sys_info.py:210: error: Call to untyped function "command_succeeds" in typed context
- pitop/common/sys_info.py:218: error: Function is missing a return type annotation
- pitop/common/sys_info.py:219: error: Call to untyped function "interface_is_up" in typed context
- pitop/common/sys_info.py:21: error: Function is missing a return type annotation
- pitop/common/sys_info.py:220: error: Call to untyped function "get_address_for_connected_device" in typed context
- pitop/common/sys_info.py:25: error: Function is missing a return type annotation
- pitop/common/sys_info.py:34: error: Function is missing a return type annotation
- pitop/common/sys_info.py:48: error: Argument 1 to "int" has incompatible type "Optional[int]"; expected "Union[str, bytes, SupportsInt, SupportsIndex, _SupportsTrunc]"
- pitop/common/sys_info.py:53: error: Function is missing a type annotation
- pitop/common/sys_info.py:69: error: Function is missing a return type annotation
- pitop/common/sys_info.py:80: error: Function is missing a type annotation
- pitop/common/type_helper.py:11: error: Function is missing a type annotation
- pitop/common/type_helper.py:3: error: Function is missing a type annotation
Advertisement
Add Comment
Please, Sign In to add comment