Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Willemsen committed Dec 9, 2024
1 parent fbc81f3 commit e449bcf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/emulator_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,9 @@ def backdoor_simulate_disconnected_device(
self.backdoor_set_on_device(emulator_property, True)

@contextlib.contextmanager
def backdoor_simulate_disconnected_addr(self, emulator_property="address"):
def backdoor_simulate_disconnected_addr(
self, emulator_property: str = "address"
) -> Generator[None, None, None]:
"""
Simulate device with disconnected ADDR, such as Eurotherm
"""
Expand Down

0 comments on commit e449bcf

Please sign in to comment.