Removes flake8 syntax and uses pep8