Commit Graph

117 Commits

Author SHA1 Message Date
Anthony Sottile
a116a3fe37 Merge pull request #49 from pre-commit/fix_cwd_problem
Fix cwd problem
2014-03-30 13:29:18 -07:00
Anthony Sottile
45e6a0b1eb Merge pull request #50 from pre-commit/manifest_to_hooks
Manifest to hooks
2014-03-30 13:21:42 -07:00
Anthony Sottile
7baf3035c8 Moar manifest -> hooks 2014-03-30 13:17:40 -07:00
Anthony Sottile
c62c1a3b51 manifest -> hooks 2014-03-30 13:12:40 -07:00
Anthony Sottile
53317adb1e Forgot to remove a herpderp 2014-03-29 23:47:04 -07:00
Anthony Sottile
75fc3a3481 No more abspath 2014-03-29 23:34:14 -07:00
Anthony Sottile
1238368f88 Fix python 2.6 2014-03-29 23:33:12 -07:00
Anthony Sottile
18249bec8a Simplify installing into virtualenv 2014-03-29 23:27:26 -07:00
Anthony Sottile
216b5c6ab1 Resolves cwd problem 2014-03-29 23:23:43 -07:00
Anthony Sottile
6f0d566199 Added path function to PrefixedCommandRunner 2014-03-29 15:47:29 -07:00
Anthony Sottile
bd6e62e28d Add PrefixedCommandRunner 2014-03-29 15:17:01 -07:00
Anthony Sottile
aa9c77abe8 Adds failing test for cwd problem. 2014-03-29 13:00:29 -07:00
Anthony Sottile
d4c9f9075e Fix node runner for running without a system-level node installed. 2014-03-24 11:17:38 -07:00
Anthony Sottile
c300a11a97 Merge pull request #46 from pre-commit/autoupdate_command_44
Autoupdate command
2014-03-23 23:05:27 -07:00
Anthony Sottile
2127945b6a Autoupdate pre-commit config. 2014-03-23 22:59:43 -07:00
Anthony Sottile
26d563ee20 Autoupdate works. Closes #44. 2014-03-23 22:57:19 -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
d8f8f5e1f4 Extend validate_base to take a load_strategy 2014-03-23 20:22:51 -07:00
Anthony Sottile
2699026908 Add ordered yaml load/dump 2014-03-23 20:22:51 -07:00
Anthony Sottile
c695ee9a9a Move printing inside the commands for install and uninstall 2014-03-23 20:21:59 -07:00
Anthony Sottile
2f1454bebc Merge pull request #45 from pre-commit/simplify_commands
Simplify the install and uninstall commands and improve tests.
2014-03-23 18:42:39 -07:00
Anthony Sottile
ecdacd474b Simplify the install and uninstall commands and improve tests. 2014-03-23 18:33:18 -07:00
Anthony Sottile
48bbc68b35 Merge pull request #43 from pre-commit/command_arguments_42
pre-commit now uses sub-commands instead of options.  Closes #42.
2014-03-23 17:23:46 -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
bee6b0fb27 Merge pull request #41 from pre-commit/pre_commit_runner
Add Runner interface.
2014-03-23 16:35:38 -07:00
Anthony Sottile
88686d298f Add Runner interface. 2014-03-23 16:22:24 -07:00
Anthony Sottile
ae1d1681b2 Fix the build in python 2.6: speeling error 2014-03-23 12:38:32 -07:00
Anthony Sottile
254655e2fd Add OrderedDict dependency. Make sure hooks are run in a deterministic order 2014-03-23 12:35:29 -07:00
Anthony Sottile
dc1494d0e7 Added fix end of file hook. 2014-03-22 21:49:10 -07:00
Anthony Sottile
8c30419c13 Oops was using the incorrect travis bling 2014-03-22 18:39:48 -07:00
Anthony Sottile
5d0e7ece02 Simplify requirements.txt 2014-03-22 18:36:59 -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
6d1a464c4f Use more-standard yaml format 2014-03-22 17:49:57 -07:00
Anthony Sottile
47b7ca44ed Improve failure message for pre-commit. Closes #36 2014-03-22 17:21:17 -07:00
Anthony Sottile
aae90cf70b Merge pull request #38 from pre-commit/consider_git_no_checkout
Use --no-checkout when cloning (slight performance hack).  Closes #28
2014-03-22 17:10:22 -07:00
Anthony Sottile
c3436ebfda Use --no-checkout when cloning (slight performance hack). Closes #28 2014-03-22 17:03:58 -07:00
Anthony Sottile
64745fb0b4 Merge pull request #37 from pre-commit/fix_lots_of_files
Fix lots of files problem
2014-03-22 16:59:34 -07:00
Anthony Sottile
f66b3f6156 Fixes lots of files problem. Closes #34 2014-03-22 16:54:50 -07:00
Anthony Sottile
6cda5bfe27 Clean up how the environments work. 2014-03-22 16:33:24 -07:00
Anthony Sottile
a1ba715b50 Modify a test to make sure arguments are getting passed correctly 2014-03-22 15:22:06 -07:00
Anthony Sottile
cd0714d059 Merge pull request #35 from pre-commit/make_config_validator_validate_file_regexes
Make the config validator more strict for correct regexes
2014-03-22 15:17:03 -07:00
Anthony Sottile
be8d1b811a Make the config validator more strict for correct regexes 2014-03-22 15:14:43 -07:00
Anthony Sottile
afed660077 Add failing test for too many files 2014-03-22 14:57:22 -07:00
Anthony Sottile
6b1097d3c9 Minor improvements to pre_commit/run.py 2014-03-18 22:21:36 -07:00
Anthony Sottile
e0d02da6a4 Bump hooks 2014-03-18 22:05:01 -07:00
asottile
39b3ebe963 Merge pull request #33 from pre-commit/make_pre_commit_executable
Make the pre-commit actually executable.  Closes #32
2014-03-18 21:42:17 -07:00
Anthony Sottile
6188903ed7 Make the pre-commit actually executable. Closes #32 2014-03-18 21:40:08 -07:00
asottile
601e643960 Merge pull request #27 from pre-commit/update_readme
Update readme
2014-03-16 20:00:49 -07:00
Anthony Sottile
7fa6890559 Add travis status to README 2014-03-16 19:57:19 -07:00