build: add '.git' to 'make lint-py' exclude list
When run locally flake8 is currently creating false positives by scanning the .git directory. This PR prevents that behavior.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines