Commit Graph

164 Commits

Author SHA1 Message Date
Anthony Sottile
ddebb83a40 Merge pull request #77 from pre-commit/rebuild_venv
Rebuild virtualenv on requirements change.
2014-04-12 23:30:11 -07:00
Anthony Sottile
2bfb85e52e Rebuild virtualenv on requirements change. 2014-04-12 23:25:49 -07:00
Anthony Sottile
969170bf67 Merge pull request #73 from pre-commit/use_asottile_packages
yaml extensions and ordereddict are now imported from asottile.
2014-04-12 16:15:50 -07:00
Anthony Sottile
e58d28aad3 yaml extensions and ordereddict are now imported from asottile. 2014-04-12 16:12:10 -07:00
Anthony Sottile
c0a0a21680 Merge pull request #72 from pre-commit/better_project_setup
Better project setup
2014-04-12 16:01:25 -07:00
Anthony Sottile
1746a97e24 Better project structure 2014-04-12 15:56:18 -07:00
Anthony Sottile
f31f092f9b Merge pull request #67 from pre-commit/logging_handler_26_compat_66
LoggingHandler 2.6 compat
2014-04-07 17:08:55 -07:00
Anthony Sottile
7a8dcb0ca9 Python 2.6 compatibility for LoggingHandler. Closes #66. 2014-04-07 17:04:21 -07:00
Anthony Sottile
8b0a2abaf9 Add failing 2.6 test 2014-04-07 16:59:20 -07:00
Anthony Sottile
460582dacd Fix node in no-node-case...again. 2014-04-07 11:41:11 -07:00
Anthony Sottile
5a0d35d389 Merge pull request #65 from pre-commit/stash_before_check_30
Pre-commit stashes unstaged changes on run. Closes #30.
2014-04-05 22:08:06 -07:00
Anthony Sottile
514a6d66cf Remove incorrect todo comment. 2014-04-05 22:05: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
4ed9120ae9 Add staged_files_only context manager. 2014-04-05 19:35:35 -07:00
Anthony Sottile
749615118e Merge pull request #64 from pre-commit/color_63
Wire in color for pre-commit
2014-04-05 19:34:59 -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
6a1f945e31 Add color utility. 2014-04-05 19:12:30 -07:00
Anthony Sottile
e98d2e1e79 Use print_function moar. 2014-04-05 18:58:11 -07:00
Anthony Sottile
371ec1e051 Merge pull request #62 from pre-commit/verbose
Add verbose mode for pre-commit
2014-04-03 23:48:45 -07:00
Anthony Sottile
7a8cfee9fe Add verbose mode for pre-commit 2014-04-03 23:45:27 -07:00
Anthony Sottile
f27efd9ef3 Merge pull request #61 from pre-commit/print_stuff_when_installing
Print message when installing repositories.
2014-04-03 23:35:18 -07:00
Anthony Sottile
74363e6ec2 Print message when installing repositories. 2014-04-03 23:31:45 -07:00
Anthony Sottile
36ecf23c2e Merge pull request #60 from pre-commit/control_c_58
Clean up directories on failure.  Closes #58.
2014-04-03 22:57:30 -07:00
Anthony Sottile
bcb00726a1 Clean up directories on failure. Closes #58. 2014-04-03 22:54:27 -07:00
Anthony Sottile
443b62d56a Add yaml hook. 2014-04-03 22:31:42 -07:00
Anthony Sottile
3cfc49b522 Merge pull request #59 from pre-commit/fix_update_adding_defaults
Fix autoupdate spamming with defaults.
2014-04-03 22:14:22 -07:00
Anthony Sottile
8b5c3b8745 Fix autoupdate spamming with defaults. 2014-04-03 22:11:53 -07:00
Anthony Sottile
817ec510c7 Deepcopy defaults to prevent weird references in yaml. 2014-04-03 21:53:31 -07:00
Anthony Sottile
5a7044edcc Merge pull request #57 from pre-commit/dry_validate
Dry validate
2014-04-03 21:03:00 -07:00
Anthony Sottile
d5e920b370 Fuck you ipython 2014-04-03 20:59:37 -07:00
Anthony Sottile
9a1799b9a8 DRY up validate_* 2014-04-03 20:51:37 -07:00
Anthony Sottile
9ce6cc6c05 Merge pull request #56 from pre-commit/exclude_pattern
Exclude pattern
2014-03-31 23:38:10 -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
b23ad5d6a3 Add jsonschema extension to populate defaults. 2014-03-31 22:49:24 -07:00
Anthony Sottile
5f4996645c Allow exclude pattern to be parsed. 2014-03-31 21:43:26 -07:00
Anthony Sottile
770e48a8f7 Merge pull request #54 from pre-commit/remove_validator_defaulting
Remove defaulting behavior of validate_*.  It was complicated and unnecessary
2014-03-31 21:29:01 -07:00
Anthony Sottile
c878e4d551 Remove defaulting behavior of validate_*. It was complicated and unnecessary 2014-03-31 21:26:06 -07:00
Anthony Sottile
b83b040ca4 Merge pull request #53 from pre-commit/pre_commit_clean
Implement the clean command.
2014-03-30 18:47:01 -07:00
Anthony Sottile
fa953d4c2d Implement the clean command. 2014-03-30 18:34:57 -07:00
Anthony Sottile
88dd5e46d5 Merge pull request #52 from pre-commit/no_deps_hook_types
Implement no-dependency system and script hook types.  Closes #39.
2014-03-30 15:23:51 -07:00
Anthony Sottile
c418f2b94e Implement no-dependency system and script hook types. Closes #39. 2014-03-30 15:15:13 -07:00
Anthony Sottile
02660f7c0a Merge pull request #51 from pre-commit/fix_leaky_prefixed_command_runner_test
Fix prefixed_command_runner_test to not create real directories.
2014-03-30 14:05:01 -07:00
Anthony Sottile
32d2807554 Fix prefixed_command_runner_test to not create real directories. 2014-03-30 14:01:07 -07:00
Anthony Sottile
288d32d226 Fix build 2014-03-30 13:32:45 -07:00
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