Add the following section to your
.git/config and you will get the new command
git pep8, which will run the files you have changed through pep8.
As a bonus, I also included the alias to do the same with pyflakes.
Thanks to Robert Morris for the idea to make these functions into aliases.