Commit Graph

39 Commits

Author SHA1 Message Date
Anthony Sottile
143ed94500 Tests pass on windows 2015-02-27 00:48:01 -08:00
Anthony Sottile
26502dfd0b Default arguments from hooks.yaml 2015-01-12 09:35:05 -08:00
Anthony Sottile
fd109b7745 reorder-python-imports 2015-01-04 15:49:19 -08:00
Anthony Sottile
bbd2572b11 Remove plumbum 2014-10-02 06:59:37 -07:00
Anthony Sottile
22ee10d4ad Update .pre-commit-config.yaml 2014-08-22 12:33:54 -07:00
Anthony Sottile
31a3b2ecb6 Install hooks before attempting to run anything 2014-07-04 11:11:21 -07:00
Anthony Sottile
76b42056ee More fixes for tests under osx 2014-06-26 20:00:48 -07:00
Anthony Sottile
2ec7a34035 Fix filenames with spaces in them. 2014-06-20 10:20:02 -07:00
Anthony Sottile
5575dbae05 Use aspy.yaml instead. 2014-06-17 09:29:39 -07:00
Anthony Sottile
a984a02c84 Make ordereddict a direct dependency. 2014-06-17 06:59:13 -07:00
Anthony Sottile
2cfd2818b5 Add pcre type. 2014-06-16 21:11:00 -07:00
Anthony Sottile
4b43fd8cdc Add integration test for existing install behaviour 2014-06-16 12:53:26 -07:00
Anthony Sottile
85a76617c1 Refactor fixtures in tests. 2014-06-15 18:49:45 -07:00
Anthony Sottile
3baefd57e2 Convert autoupdate_test to use new fixture functions. 2014-06-15 17:00:35 -07:00
Anthony Sottile
047a933554 Move empty_git_dir out of pytest fixtures. 2014-06-15 15:47:11 -07:00
Anthony Sottile
7b1230df27 Use plumbum a bit better. 2014-06-15 14:19:05 -07:00
Anthony Sottile
07664a80ca Attempt ruby-download before ruby-build. 2014-06-07 14:25:44 -07:00
Anthony Sottile
96174deac6 Make hooks specify files. Optionally allow config to override manifest. 2014-06-05 18:39:34 -07:00
Anthony Sottile
02a79bf1c3 Support language_version for ruby as well. 2014-06-03 13:28:20 -07:00
Anthony Sottile
511de4fe32 Support hooks with custom node version. 2014-06-02 16:10:59 -07:00
Anthony Sottile
fdd6989ece Add failing test for versioned repositories. 2014-06-02 06:39:46 -07:00
Anthony Sottile
61606cfaa4 Allow spaces in system hooks. Closes #95. 2014-05-18 14:20:11 -07:00
Anthony Sottile
b381bb68b7 Support ruby through a combination of rbenv, ruby-build, and GEM_HOME 2014-05-03 23:32:18 -07:00
Anthony Sottile
94d626691f Move get_head_sha into testing since it is only used by tests. 2014-04-14 09:57:38 -07:00
Anthony Sottile
3d5a360df4 Fix Py3 2014-04-13 18:07:21 -07:00
Anthony Sottile
c91b244105 pyflakes -> flake8 2014-04-13 18:01:35 -07:00
Anthony Sottile
5eda121260 Move stuff into commands and write tests. 2014-04-13 14:07:52 -07:00
Anthony Sottile
1746a97e24 Better project structure 2014-04-12 15:56:18 -07:00
Anthony Sottile
4ed9120ae9 Add staged_files_only context manager. 2014-04-05 19:35:35 -07:00
Anthony Sottile
443b62d56a Add yaml hook. 2014-04-03 22:31:42 -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
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
7baf3035c8 Moar manifest -> hooks 2014-03-30 13:17:40 -07:00
Anthony Sottile
c62c1a3b51 manifest -> hooks 2014-03-30 13:12:40 -07:00
Anthony Sottile
aa9c77abe8 Adds failing test for cwd problem. 2014-03-29 13:00:29 -07:00
Anthony Sottile
49da1ba72a Added the useful thinking bit of the autoupdate and tests. 2014-03-23 21:35:35 -07:00
Anthony Sottile
d8f8f5e1f4 Extend validate_base to take a load_strategy 2014-03-23 20:22:51 -07:00
Anthony Sottile
88686d298f Add Runner interface. 2014-03-23 16:22:24 -07:00