Ctrl + Clicking on State fields like .actions doesn't really point towards all usages in the codebase. This can be improved if we use Python's Typing module. This issue calls to slowly but surely (need not be all in one PR) we keep typing the codebase as much as possible.
Example:
Before
def player_clean_turn(state, color):
After
def player_clean_turn(state: State, color: Color):
Ctrl + Clicking on State fields like
.actionsdoesn't really point towards all usages in the codebase. This can be improved if we use Python's Typing module. This issue calls to slowly but surely (need not be all in one PR) we keep typing the codebase as much as possible.Example:
Before
After