Made flake8 ignore the .git directory.
Merge pull request #2052 from loic/setup.cfg

Made flake8 ignore the .git directory.