flake8 and requirement file fixes