Apply flake8 standards