Skip to content

Commit

Permalink
Merge pull request #420 from SpiNNakerManchester/typing
Browse files Browse the repository at this point in the history
Typing
  • Loading branch information
Christian-B authored Oct 22, 2024
2 parents 4eec984 + f42b222 commit d9cc16f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mypy.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
utils="../SpiNNUtils/spinn_utilities"
machine="../SpiNNMachine/spinn_machine"

mypy $utils $machine spinnman
mypy --python-version 3.8 $utils $machine spinnman
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def is_connected(self) -> bool:
# check if machine is active and on the network
for _ in range(_PING_COUNT):
# Assume connected if ping works
assert self._remote_ip_address is not None
if Ping.ping(self._remote_ip_address) == 0:
return True

Expand Down

0 comments on commit d9cc16f

Please sign in to comment.