commit | 5dd0459f8a7207ddcee26baa4917c2a6e20fba67 | [log] [tgz] |
---|---|---|
author | Luis Lozano <llozano@chromium.org> | Wed Dec 30 11:12:09 2015 -0800 |
committer | chrome-bot <chrome-bot@chromium.org> | Tue Jan 05 01:55:22 2016 +0000 |
tree | a10e529dc10489eeeb21fed06c2500ab1d5a5e27 | |
parent | 6736a8e1044141d657aeac5916b32123da664e97 [diff] |
Modify pre-push hook to run pyformat. Run pyformat before git push. Give error if files need formatting. Also, made silly cleanup to pstat.py to be able to test the pre-push hook. BUG=None TEST=white box testing Change-Id: I79f12fa0acca4048b551f7dab25b0de8d5f05d75 Reviewed-on: https://chrome-internal-review.googlesource.com/243113 Commit-Ready: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Luis Lozano <llozano@chromium.org>