Adding spaces after commas, after the slice operator
Removing unused imports/reordering them
Adding a space after every #, adding two spaces after each line before the # if necessary
Changed conditions from: if not foo in bar ... to ... if foo not in bar
Changed equality from == to the keyword "in", when referring to True or False
Removed unnecessary backslashes
Capitalized first word of a comment when necessary (when it doesn't relate to a variable)
Other various small fixes like typos
There may be some changes where I should have followed the guidelines already established in the codebase instead of PEP8, and I'd be happy to fix those.
Most of the changes are related to the following:
Adding spaces after commas, after the slice operator Removing unused imports/reordering them Adding a space after every #, adding two spaces after each line before the # if necessary Changed conditions from: if not foo in bar ... to ... if foo not in bar Changed equality from == to the keyword "in", when referring to True or False Removed unnecessary backslashes Capitalized first word of a comment when necessary (when it doesn't relate to a variable) Other various small fixes like typos
There may be some changes where I should have followed the guidelines already established in the codebase instead of PEP8, and I'd be happy to fix those.