PEP 8 style fixes

Lots of PEP8 issues have been fixed in all the files :rabbit: