Index: dialin/hd/air_bubbles.py =================================================================== diff -u -r801527f052cc3ca768d768401164c0072892442d -r026abe7a8fa396fd21e5faa15af34b2d3587363d --- dialin/hd/air_bubbles.py (.../air_bubbles.py) (revision 801527f052cc3ca768d768401164c0072892442d) +++ dialin/hd/air_bubbles.py (.../air_bubbles.py) (revision 026abe7a8fa396fd21e5faa15af34b2d3587363d) @@ -65,7 +65,7 @@ # Initialize state of ADA and ADV air bubble detectors state machine to init self.air_bubbles_state = [self.AIR_BUBBLE_INIT_STATE, self.AIR_BUBBLE_INIT_STATE] - def get_air_bubble_status(self, index): + def get_air_bubble_status(self, index: int) -> int: """ Gets the given air bubble status using index 0 for ADA and index 1 for ADV. @@ -97,7 +97,7 @@ self.air_bubbles_status = [statusADA[0], statusADV[0]] self.air_bubbles_state = [stateADA[0], stateADV[0]] - def cmd_air_bubble_status_override(self, status, index, reset=NO_RESET): + def cmd_air_bubble_status_override(self, status: int, index: int, reset: int = NO_RESET) -> int: """ Constructs and sends the air bubble detector status override command Constraints: @@ -135,7 +135,7 @@ self.logger.debug("Timeout!!!!") return False - def cmd_air_bubble_self_test_request(self, index): + def cmd_air_bubble_self_test_request(self, index: int) -> int: """ Request air bubble self-test for a given detector (ADA or ADV) Constraints: @@ -167,7 +167,7 @@ self.logger.debug("Timeout!!!!") return False - def cmd_air_bubbles_data_broadcast_interval_override(self, ms, reset=NO_RESET): + def cmd_air_bubbles_data_broadcast_interval_override(self, ms: int, reset: int = NO_RESET) -> int: """ Constructs and sends the air bubbles data broadcast interval override command Constraints: