Make the codebase Flake8 compliant