Commit Graph

66 Commits

Author SHA1 Message Date
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
Ken Struys
95d9e29996 added config validation to install tests 2014-03-13 18:53:58 -07:00
Anthony Sottile
905b99917f Add pyflakes hook 2014-03-13 18:42:41 -07:00
Anthony Sottile
af5e47e042 Merge remote-tracking branch 'origin/master' 2014-03-13 17:49:41 -07:00
Ken Struys
6cf21ec533 fixing build 2014-03-13 17:47:46 -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
320bb0a679 hopefully unbreaking the build 2014-03-13 17:06:23 -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
fdf05b0fa9 Add better tests for manifest json schema 2014-03-13 16:28:45 -07:00
Anthony Sottile
74923ef252 Updated tests for validate manifest 2014-03-13 16:15:41 -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