Commit Graph

106 Commits

Author SHA1 Message Date
Anthony Sottile c62c1a3b51 manifest -> hooks 2014-03-30 13:12:40 -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
Anthony Sottile 6bb0b121d6 Update README to be more useful. 2014-03-16 19:56:15 -07:00
Anthony Sottile d5c93f94bc RIP old pre-commit.py 2014-03-16 19:22:59 -07:00
Anthony Sottile bef4a01af9 Don't pass deleted files to pre-commit scripts. 2014-03-16 19:22:38 -07:00
Anthony Sottile 6649e180bb Adds some tests for get_files_matching 2014-03-16 19:11:33 -07:00
Anthony Sottile 7b1b72e225 Consolidated some code. 2014-03-16 18:40:16 -07:00
Anthony Sottile 33f5bad484 Add moar hooks to our pre-commit 2014-03-16 18:12:23 -07:00
Anthony Sottile bf457349b3 Implement our own rev-parse --top-level 2014-03-14 14:50:04 -07:00
Anthony Sottile 086e50728d Update regexes 2014-03-14 13:40:33 -07:00
Anthony Sottile ddb075fbac Add ourselves to our pre-commit-config. 2014-03-14 13:38:55 -07:00
Anthony Sottile c77d65d9cb Added validate-config to the hooks manifest. 2014-03-14 13:36:29 -07:00
Anthony Sottile feb4d6dc52 Remove jshint and scss-lint as hooks for this project since we're a pure python project. 2014-03-14 13:34:12 -07:00