fix: Add flake8 env and fix ensuing errors