mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Add typing and appease MYPY
This commit is contained in:
parent
a12c0e8d9e
commit
a573a598b0
6 changed files with 83 additions and 76 deletions
|
@ -10,7 +10,7 @@ class AvrFirmwareUpdater(FirmwareUpdater):
|
|||
def __init__(self, output_device: PrinterOutputDevice) -> None:
|
||||
super().__init__(output_device)
|
||||
|
||||
def _updateFirmware(self):
|
||||
def _updateFirmware(self) -> None:
|
||||
try:
|
||||
hex_file = intelHex.readHex(self._firmware_location)
|
||||
assert len(hex_file) > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue