Skip to content

Conversation

Arusekk
Copy link
Member

@Arusekk Arusekk commented Jun 9, 2020

This is several code style fixes, described in detail in this PR's commit messages.

Arusekk added 4 commits June 14, 2020 12:36
while True:
k = term.key.get()
if k in ('y', 'Y', '<left>') and cur != True:
if k in ('y', 'Y', '<left>') and cur is not True:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should likely be not cur or similar. We should generally not check for is True or is False.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ping @Arusekk

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here the value can be either of three: True, False or None. You are probably right, if you prefer so, you can commit this further change.

@heapcrash heapcrash added this to the Someday milestone Jun 16, 2020
@heapcrash heapcrash merged commit c3e39f5 into Gallopsled:dev Jun 23, 2020
@Arusekk Arusekk deleted the docfix branch June 23, 2020 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants