Corrected many style guide violations that the newest version of flake8 catches