Commit Graph

54 Commits

Author SHA1 Message Date
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
47b7ca44ed Improve failure message for pre-commit. Closes #36 2014-03-22 17:21:17 -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
be8d1b811a Make the config validator more strict for correct regexes 2014-03-22 15:14:43 -07:00
Anthony Sottile
6b1097d3c9 Minor improvements to pre_commit/run.py 2014-03-18 22:21:36 -07:00
Anthony Sottile
6188903ed7 Make the pre-commit actually executable. Closes #32 2014-03-18 21:40:08 -07:00
Anthony Sottile
bef4a01af9 Don't pass deleted files to pre-commit scripts. 2014-03-16 19:22:38 -07:00
Anthony Sottile
7b1b72e225 Consolidated some code. 2014-03-16 18:40:16 -07:00
Anthony Sottile
bf457349b3 Implement our own rev-parse --top-level 2014-03-14 14:50:04 -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
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
27c341e2fb added basic run single hook implmentation 2014-03-13 23:05:02 -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
Ken Struys
95d9e29996 added config validation to install tests 2014-03-13 18:53:58 -07:00
Anthony Sottile
af5e47e042 Merge remote-tracking branch 'origin/master' 2014-03-13 17:49:41 -07:00
Anthony Sottile
2ebba7994d Added config validator and tests for it 2014-03-13 17:34:24 -07:00
Ken Struys
1d8af9ce50 moved the installing code to its own package 2014-03-13 17:31:58 -07:00
Ken Struys
3b0f03d0e0 Merge branch 'master' of github.com:pre-commit/pre-commit
Conflicts:
	tests/git_test.py
2014-03-13 16:48:02 -07:00
Ken Struys
6498321e1e added more integration with git repo creation 2014-03-13 16:29:59 -07:00
Anthony Sottile
e5f4c61608 Remove unnecessary object level at top of manifest 2014-03-13 16:03:15 -07:00
Anthony Sottile
af7e23aae5 Add manifest file. 2014-03-13 15:52:38 -07:00
Anthony Sottile
28857c9a74 Consolidated file validation 2014-03-13 15:47:02 -07:00
Anthony Sottile
9fa237fbe0 Write test for auto-validating manifest at root of repo 2014-03-13 14:45:08 -07:00
Ken Struys
ed16271a19 Merge branch 'master' of github.com:pre-commit/pre-commit 2014-03-13 14:37:27 -07:00
Ken Struys
e3d1f10ec3 added create repo 2014-03-13 14:37:22 -07:00
Anthony Sottile
f5308b0a57 Merge remote-tracking branch 'origin/master'
Conflicts:
	setup.py
2014-03-13 14:12:13 -07:00
Anthony Sottile
18976b501d Fix entry_points 2014-03-13 13:59:45 -07:00
Ken Struys
7e74821a5d added install and uninstall hooks 2014-03-13 13:59:05 -07:00