buildbot/buildbot — pull request #935 by tardyp (2013-10-22 09:45:41+00:00)
Title: checkfiles: git hook to run autopep8 + automatic import reordering

usage:

for one file:
echo master/buildbot/process/buildstep.py | common/checkfiles
for all files:
find . -name \*.py | common/checkfiles

as a git hook:
cp common/hooks/post-commit .git/hooks

After you do your commit, the script will run on the modified files
You see the results in the terminal, you can review it, and amend your patch

Signed-off-by: Pierre Tardy