fix req and flake8