Update .flake8 config file

Exclude .git, __pycache__, venv
7 jobs for update-ci in 28 seconds (queued for 14 minutes and 55 seconds)