Pin Flake8 version to 3.7.7

2 jobs for master
in 38 seconds and was queued for 5 seconds