It is a regex and not a glob, so it will catch .git/, but I can make go ahead and make it more specific if you want to be able to compile .git_blah.py