Remove EOF whitespace and add a missing EOF newline.
Remove a useless semicolon.
Make comparisons to None, True and False conform to PEP8.
Avoid multiple statements on one line, fixes PEP8 E701 tree-wide.