Style code to flake8 standards