Commit Graph

29 Commits

Author SHA1 Message Date
Anthony Sottile
8a8b2241a6 Add --no-stash option. 2014-04-13 20:00:10 -07:00
Anthony Sottile
5eda121260 Move stuff into commands and write tests. 2014-04-13 14:07:52 -07:00
Anthony Sottile
bb365a6e68 Python 3 compatibility. 2014-04-12 23:46:03 -07:00
Anthony Sottile
1746a97e24 Better project structure 2014-04-12 15:56:18 -07:00
Anthony Sottile
158a3a6d8b Pre-commit stashes unstaged changes on run. Closes #30. 2014-04-05 22:01:29 -07:00
Anthony Sottile
a3720c0645 Add logging handler. 2014-04-05 21:50:20 -07:00
Anthony Sottile
73e0111e38 Wire in color for pre-commit. Closes #63. 2014-04-05 19:31:31 -07:00
Anthony Sottile
8aa88c7363 Consolidate arguments for run() 2014-04-05 19:21:12 -07:00
Anthony Sottile
e98d2e1e79 Use print_function moar. 2014-04-05 18:58:11 -07:00
Anthony Sottile
7a8cfee9fe Add verbose mode for pre-commit 2014-04-03 23:45:27 -07:00
Anthony Sottile
535be5b33a Actually use the exclude pattern. Closes #47. 2014-03-31 23:35:25 -07:00
Anthony Sottile
ac67af21ec Apply defaults to all of the configs. Much fewer .get()s 2014-03-31 23:22:13 -07:00
Anthony Sottile
fa953d4c2d Implement the clean command. 2014-03-30 18:34:57 -07:00
Anthony Sottile
75fc3a3481 No more abspath 2014-03-29 23:34:14 -07:00
Anthony Sottile
216b5c6ab1 Resolves cwd problem 2014-03-29 23:23:43 -07:00
Anthony Sottile
49da1ba72a Added the useful thinking bit of the autoupdate and tests. 2014-03-23 21:35:35 -07:00
Anthony Sottile
c695ee9a9a Move printing inside the commands for install and uninstall 2014-03-23 20:21:59 -07:00
Anthony Sottile
ecdacd474b Simplify the install and uninstall commands and improve tests. 2014-03-23 18:33:18 -07:00
Anthony Sottile
1dccbf3ea8 pre-commit now uses sub-commands instead of options. Closes #42. 2014-03-23 17:20:56 -07:00
Anthony Sottile
88686d298f Add Runner interface. 2014-03-23 16:22:24 -07:00
Anthony Sottile
40c6bb03de Forgot the sys.exit 2014-03-22 18:20:19 -07:00
Anthony Sottile
04b421978a Make entry points simpler 2014-03-22 18:11:30 -07:00
Anthony Sottile
6b1097d3c9 Minor improvements to pre_commit/run.py 2014-03-18 22:21:36 -07:00
Anthony Sottile
5daed50f75 Actually run things and make pretty output. 2014-03-14 12:09:39 -07:00
Ken Struys
27c341e2fb added basic run single hook implmentation 2014-03-13 23:05:02 -07:00
Anthony Sottile
f5308b0a57 Merge remote-tracking branch 'origin/master'
Conflicts:
	setup.py
2014-03-13 14:12:13 -07:00
Anthony Sottile
18976b501d Fix entry_points 2014-03-13 13:59:45 -07:00
Ken Struys
7e74821a5d added install and uninstall hooks 2014-03-13 13:59:05 -07:00
Anthony Sottile
2aa8821b70 Added pre-commit.py script 2014-03-13 09:07:55 -07:00