Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhea committed Dec 9, 2024
1 parent bc02373 commit 112ad4b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions flipjump/utils/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@ class TerminationCause(IntEnum):
KeyboardInterrupt = 6

def __str__(self) -> str:
return ['looping', 'EOF', 'ip<2w', 'unaligned-word', 'unaligned-op',
'runtime-memory-error', "keyboard-interrupt"][self.value]
return [
'looping',
'EOF',
'ip<2w',
'unaligned-word',
'unaligned-op',
'runtime-memory-error',
"keyboard-interrupt",
][self.value]


class PrintTimer:
Expand Down

0 comments on commit 112ad4b

Please sign in to comment.