flake8 updates