Commit Graph

81 Commits

Author SHA1 Message Date
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
Anthony Sottile
8e690f6593 Merge branch 'master' of github.com:pre-commit/pre-commit 2014-03-14 12:10:01 -07:00
Anthony Sottile
5daed50f75 Actually run things and make pretty output. 2014-03-14 12:09:39 -07:00
Ken Struys
cb3699007e Merge branch 'master' of github.com:pre-commit/pre-commit 2014-03-14 11:27:15 -07:00
Ken Struys
1a9ace859a added tests for node 2014-03-14 11:25:23 -07:00
Anthony Sottile
f123e64c25 Ruby should work now 2014-03-14 10:45:00 -07:00
asottile
dd004c2ee5 Merge pull request #26 from pre-commit/performance_test
Performance test
2014-03-14 00:48:20 -07:00
Anthony Sottile
ca02afd0b3 Merge remote-tracking branch 'origin/master' into performance_test
Conflicts:
	pre_commit/languages/python.py
2014-03-14 00:44:10 -07:00
Anthony Sottile
14d0d30b07 Merge remote-tracking branch 'origin/performance_test' into performance_test
Conflicts:
	pre_commit/languages/python.py
2014-03-14 00:31:51 -07:00
Anthony Sottile
43767511e2 Nicer interfaces 2014-03-14 00:31:24 -07:00
Ken Struys
cdea26a748 Merge branch 'master' of github.com:pre-commit/pre-commit 2014-03-14 00:30:29 -07:00
Anthony Sottile
6b62ec47e8 Performance hack 2014-03-14 00:30:26 -07:00
Ken Struys
7fbc935d1c added node hooks setup and jshint 2014-03-14 00:30:11 -07:00
Anthony Sottile
1a8095e71e Return the actual return code 2014-03-14 00:06:01 -07:00
Anthony Sottile
0f14d4c072 Attempt with subprocess instead 2014-03-14 00:04:15 -07:00
Anthony Sottile
4db38596c8 Attempt to improve performance by eliminating a sleep call 2014-03-13 23:55:02 -07:00
Anthony Sottile
da8c435e9c Improve performance on pre-commit -r pyflakes by 40% 2014-03-13 23:48:17 -07:00
Ken Struys
356e4ba13b Merge branch 'master' of github.com:pre-commit/pre-commit 2014-03-13 23:05:19 -07:00
Ken Struys
27c341e2fb added basic run single hook implmentation 2014-03-13 23:05:02 -07:00
Anthony Sottile
f178906400 Fix python 2.6 2014-03-13 22:34:04 -07:00
Anthony Sottile
871ab4d72f OMG we're running a hook 2014-03-13 22:12:33 -07:00
Anthony Sottile
47bad120e4 Made env generation polymorphic 2014-03-13 20:48:00 -07:00
Anthony Sottile
5ca8f4ffa8 Repository now parses languages and manifests 2014-03-13 20:33:42 -07:00
Anthony Sottile
d77d01cd22 Rename RepoInstaller to Repository 2014-03-13 19:38:52 -07:00
Anthony Sottile
abea886a3d Refactored how the installer works 2014-03-13 19:36:44 -07:00
Anthony Sottile
8b0247e17f Move the installer thing 2014-03-13 19:01:15 -07:00