Commit graph

  • e98d2e1e79 Use print_function moar. Anthony Sottile 2014-04-05 18:58:11 -07:00
  • 371ec1e051 Merge pull request #62 from pre-commit/verbose Anthony Sottile 2014-04-03 23:48:45 -07:00
  • 7a8cfee9fe Add verbose mode for pre-commit Anthony Sottile 2014-04-03 23:45:27 -07:00
  • f27efd9ef3 Merge pull request #61 from pre-commit/print_stuff_when_installing Anthony Sottile 2014-04-03 23:35:18 -07:00
  • 74363e6ec2 Print message when installing repositories. Anthony Sottile 2014-04-03 23:31:45 -07:00
  • 36ecf23c2e Merge pull request #60 from pre-commit/control_c_58 Anthony Sottile 2014-04-03 22:57:30 -07:00
  • bcb00726a1 Clean up directories on failure. Closes #58. Anthony Sottile 2014-04-03 22:54:27 -07:00
  • 443b62d56a Add yaml hook. Anthony Sottile 2014-04-03 22:31:42 -07:00
  • 3cfc49b522 Merge pull request #59 from pre-commit/fix_update_adding_defaults Anthony Sottile 2014-04-03 22:14:22 -07:00
  • 8b5c3b8745 Fix autoupdate spamming with defaults. Anthony Sottile 2014-04-03 22:11:53 -07:00
  • 817ec510c7 Deepcopy defaults to prevent weird references in yaml. Anthony Sottile 2014-04-03 21:53:31 -07:00
  • 5a7044edcc Merge pull request #57 from pre-commit/dry_validate Anthony Sottile 2014-04-03 21:03:00 -07:00
  • d5e920b370 Fuck you ipython Anthony Sottile 2014-04-03 20:59:37 -07:00
  • 9a1799b9a8 DRY up validate_* Anthony Sottile 2014-04-03 20:51:37 -07:00
  • 9ce6cc6c05 Merge pull request #56 from pre-commit/exclude_pattern Anthony Sottile 2014-03-31 23:38:10 -07:00
  • 535be5b33a Actually use the exclude pattern. Closes #47. Anthony Sottile 2014-03-31 23:35:25 -07:00
  • ac67af21ec Apply defaults to all of the configs. Much fewer .get()s Anthony Sottile 2014-03-31 23:22:13 -07:00
  • b23ad5d6a3 Add jsonschema extension to populate defaults. Anthony Sottile 2014-03-31 22:49:24 -07:00
  • 5f4996645c Allow exclude pattern to be parsed. Anthony Sottile 2014-03-31 21:43:26 -07:00
  • 770e48a8f7 Merge pull request #54 from pre-commit/remove_validator_defaulting Anthony Sottile 2014-03-31 21:29:01 -07:00
  • c878e4d551 Remove defaulting behavior of validate_*. It was complicated and unnecessary Anthony Sottile 2014-03-31 21:26:06 -07:00
  • b83b040ca4 Merge pull request #53 from pre-commit/pre_commit_clean Anthony Sottile 2014-03-30 18:47:01 -07:00
  • fa953d4c2d Implement the clean command. Anthony Sottile 2014-03-30 18:34:57 -07:00
  • 88dd5e46d5 Merge pull request #52 from pre-commit/no_deps_hook_types Anthony Sottile 2014-03-30 15:23:51 -07:00
  • c418f2b94e Implement no-dependency system and script hook types. Closes #39. Anthony Sottile 2014-03-30 15:15:13 -07:00
  • 02660f7c0a Merge pull request #51 from pre-commit/fix_leaky_prefixed_command_runner_test Anthony Sottile 2014-03-30 14:05:01 -07:00
  • 32d2807554 Fix prefixed_command_runner_test to not create real directories. Anthony Sottile 2014-03-30 14:01:07 -07:00
  • 288d32d226 Fix build Anthony Sottile 2014-03-30 13:32:45 -07:00
  • a116a3fe37 Merge pull request #49 from pre-commit/fix_cwd_problem Anthony Sottile 2014-03-30 13:29:18 -07:00
  • 45e6a0b1eb Merge pull request #50 from pre-commit/manifest_to_hooks Anthony Sottile 2014-03-30 13:21:42 -07:00
  • 7baf3035c8 Moar manifest -> hooks Anthony Sottile 2014-03-30 13:17:40 -07:00
  • c62c1a3b51 manifest -> hooks Anthony Sottile 2014-03-30 13:12:40 -07:00
  • 53317adb1e Forgot to remove a herpderp Anthony Sottile 2014-03-29 23:47:04 -07:00
  • 75fc3a3481 No more abspath Anthony Sottile 2014-03-29 23:34:14 -07:00
  • 1238368f88 Fix python 2.6 Anthony Sottile 2014-03-29 23:33:12 -07:00
  • 18249bec8a Simplify installing into virtualenv Anthony Sottile 2014-03-29 23:27:26 -07:00
  • 216b5c6ab1 Resolves cwd problem Anthony Sottile 2014-03-29 23:23:43 -07:00
  • 6f0d566199 Added path function to PrefixedCommandRunner Anthony Sottile 2014-03-29 15:47:29 -07:00
  • bd6e62e28d Add PrefixedCommandRunner Anthony Sottile 2014-03-29 15:17:01 -07:00
  • aa9c77abe8 Adds failing test for cwd problem. Anthony Sottile 2014-03-29 13:00:24 -07:00
  • d4c9f9075e Fix node runner for running without a system-level node installed. Anthony Sottile 2014-03-24 11:17:38 -07:00
  • c300a11a97 Merge pull request #46 from pre-commit/autoupdate_command_44 Anthony Sottile 2014-03-23 23:05:27 -07:00
  • 2127945b6a Autoupdate pre-commit config. Anthony Sottile 2014-03-23 22:59:43 -07:00
  • 26d563ee20 Autoupdate works. Closes #44. Anthony Sottile 2014-03-23 22:50:01 -07:00
  • 49da1ba72a Added the useful thinking bit of the autoupdate and tests. Anthony Sottile 2014-03-23 21:35:35 -07:00
  • d8f8f5e1f4 Extend validate_base to take a load_strategy Anthony Sottile 2014-03-23 20:19:09 -07:00
  • 2699026908 Add ordered yaml load/dump Anthony Sottile 2014-03-23 20:06:03 -07:00
  • c695ee9a9a Move printing inside the commands for install and uninstall Anthony Sottile 2014-03-23 20:21:59 -07:00
  • 2f1454bebc Merge pull request #45 from pre-commit/simplify_commands Anthony Sottile 2014-03-23 18:42:39 -07:00
  • ecdacd474b Simplify the install and uninstall commands and improve tests. Anthony Sottile 2014-03-23 18:33:18 -07:00
  • 48bbc68b35 Merge pull request #43 from pre-commit/command_arguments_42 Anthony Sottile 2014-03-23 17:23:46 -07:00
  • 1dccbf3ea8 pre-commit now uses sub-commands instead of options. Closes #42. Anthony Sottile 2014-03-23 17:20:56 -07:00
  • bee6b0fb27 Merge pull request #41 from pre-commit/pre_commit_runner Anthony Sottile 2014-03-23 16:35:38 -07:00
  • 88686d298f Add Runner interface. Anthony Sottile 2014-03-23 16:22:24 -07:00
  • ae1d1681b2 Fix the build in python 2.6: speeling error Anthony Sottile 2014-03-23 12:38:32 -07:00
  • 254655e2fd Add OrderedDict dependency. Make sure hooks are run in a deterministic order Anthony Sottile 2014-03-23 12:35:29 -07:00
  • dc1494d0e7 Added fix end of file hook. Anthony Sottile 2014-03-22 21:49:10 -07:00
  • 8c30419c13 Oops was using the incorrect travis bling Anthony Sottile 2014-03-22 18:39:48 -07:00
  • 5d0e7ece02 Simplify requirements.txt Anthony Sottile 2014-03-22 18:36:59 -07:00
  • 40c6bb03de Forgot the sys.exit Anthony Sottile 2014-03-22 18:20:19 -07:00
  • 04b421978a Make entry points simpler Anthony Sottile 2014-03-22 18:11:30 -07:00
  • 6d1a464c4f Use more-standard yaml format Anthony Sottile 2014-03-22 17:49:02 -07:00
  • 47b7ca44ed Improve failure message for pre-commit. Closes #36 Anthony Sottile 2014-03-22 17:21:17 -07:00
  • aae90cf70b Merge pull request #38 from pre-commit/consider_git_no_checkout Anthony Sottile 2014-03-22 17:10:22 -07:00
  • c3436ebfda Use --no-checkout when cloning (slight performance hack). Closes #28 Anthony Sottile 2014-03-22 17:03:58 -07:00
  • 64745fb0b4 Merge pull request #37 from pre-commit/fix_lots_of_files Anthony Sottile 2014-03-22 16:59:34 -07:00
  • f66b3f6156 Fixes lots of files problem. Closes #34 Anthony Sottile 2014-03-22 16:54:50 -07:00
  • 6cda5bfe27 Clean up how the environments work. Anthony Sottile 2014-03-22 16:33:24 -07:00
  • a1ba715b50 Modify a test to make sure arguments are getting passed correctly Anthony Sottile 2014-03-22 15:22:06 -07:00
  • cd0714d059 Merge pull request #35 from pre-commit/make_config_validator_validate_file_regexes Anthony Sottile 2014-03-22 15:17:03 -07:00
  • be8d1b811a Make the config validator more strict for correct regexes Anthony Sottile 2014-03-22 15:14:43 -07:00
  • afed660077 Add failing test for too many files Anthony Sottile 2014-03-22 14:57:22 -07:00
  • 6b1097d3c9 Minor improvements to pre_commit/run.py Anthony Sottile 2014-03-18 22:21:36 -07:00
  • e0d02da6a4 Bump hooks Anthony Sottile 2014-03-18 22:05:01 -07:00
  • 39b3ebe963 Merge pull request #33 from pre-commit/make_pre_commit_executable asottile 2014-03-18 21:42:17 -07:00
  • 6188903ed7 Make the pre-commit actually executable. Closes #32 Anthony Sottile 2014-03-18 21:40:08 -07:00
  • 601e643960 Merge pull request #27 from pre-commit/update_readme asottile 2014-03-16 20:00:49 -07:00
  • 7fa6890559 Add travis status to README Anthony Sottile 2014-03-16 19:57:19 -07:00
  • 6bb0b121d6 Update README to be more useful. Anthony Sottile 2014-03-16 19:56:15 -07:00
  • d5c93f94bc RIP old pre-commit.py Anthony Sottile 2014-03-16 19:22:59 -07:00
  • bef4a01af9 Don't pass deleted files to pre-commit scripts. Anthony Sottile 2014-03-16 19:22:38 -07:00
  • 6649e180bb Adds some tests for get_files_matching Anthony Sottile 2014-03-16 19:11:33 -07:00
  • 7b1b72e225 Consolidated some code. Anthony Sottile 2014-03-16 18:40:16 -07:00
  • 33f5bad484 Add moar hooks to our pre-commit Anthony Sottile 2014-03-16 18:12:23 -07:00
  • bf457349b3 Implement our own rev-parse --top-level Anthony Sottile 2014-03-14 14:50:04 -07:00
  • 086e50728d Update regexes Anthony Sottile 2014-03-14 13:40:33 -07:00
  • ddb075fbac Add ourselves to our pre-commit-config. Anthony Sottile 2014-03-14 13:38:55 -07:00
  • c77d65d9cb Added validate-config to the hooks manifest. Anthony Sottile 2014-03-14 13:36:29 -07:00
  • feb4d6dc52 Remove jshint and scss-lint as hooks for this project since we're a pure python project. Anthony Sottile 2014-03-14 13:34:12 -07:00
  • 8e690f6593 Merge branch 'master' of github.com:pre-commit/pre-commit Anthony Sottile 2014-03-14 12:10:01 -07:00
  • 5daed50f75 Actually run things and make pretty output. Anthony Sottile 2014-03-14 12:09:39 -07:00
  • cb3699007e Merge branch 'master' of github.com:pre-commit/pre-commit Ken Struys 2014-03-14 11:27:15 -07:00
  • 1a9ace859a added tests for node Ken Struys 2014-03-14 11:25:23 -07:00
  • f123e64c25 Ruby should work now Anthony Sottile 2014-03-14 10:45:00 -07:00
  • dd004c2ee5 Merge pull request #26 from pre-commit/performance_test asottile 2014-03-14 00:48:20 -07:00
  • ca02afd0b3 Merge remote-tracking branch 'origin/master' into performance_test Anthony Sottile 2014-03-14 00:44:10 -07:00
  • 14d0d30b07 Merge remote-tracking branch 'origin/performance_test' into performance_test Anthony Sottile 2014-03-14 00:31:51 -07:00
  • 43767511e2 Nicer interfaces Anthony Sottile 2014-03-14 00:31:24 -07:00
  • cdea26a748 Merge branch 'master' of github.com:pre-commit/pre-commit Ken Struys 2014-03-14 00:30:29 -07:00
  • 6b62ec47e8 Performance hack Anthony Sottile 2014-03-14 00:30:26 -07:00