There was inconsistency in the existing code between using camelCase and snake_case for naming functions and variables - for consistency/ principle of minimum surprise, it's better to pick one and stick to it. The official style guidelines suggest snake_case, so I went with that. Note that constants use SCREAMING_SNAKE_CASE, and classes use UpperCamelCase.
I also ran autopep8 to standardise spacing (which also improves readability in some points of the code). Make sure your editors are set to use 4 spaces instead of tabs!
None of these changes should have any effect on the way the code runs.
There was inconsistency in the existing code between using camelCase and snake_case for naming functions and variables - for consistency/ principle of minimum surprise, it's better to pick one and stick to it. The official style guidelines suggest snake_case, so I went with that. Note that constants use SCREAMING_SNAKE_CASE, and classes use UpperCamelCase.
I also ran
autopep8
to standardise spacing (which also improves readability in some points of the code). Make sure your editors are set to use 4 spaces instead of tabs!None of these changes should have any effect on the way the code runs.