Fix all flake8 warnings (with a PY3 flake8)