Anthony Sottile
c65a11ce3d
Replace five with six
2017-03-08 14:25:54 -08:00
Anthony Sottile
b9e5184ebd
Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml
2017-01-21 13:47:59 -08:00
Jacob Scott
f205e6d170
Incoroporate PR feedback
...
* Make config_file a required argument to Runner
* Update main.py
* Update tests to make them all green
New test to test alternate config functionality coming in next commit
2016-12-02 13:53:59 -08:00
Anthony Sottile
573442faf3
Configure logging under test
2016-11-26 16:41:45 -08:00
Anthony Sottile
a7169905dc
Centralize logging initialization
2016-11-26 14:19:37 -08:00
Anthony Sottile
0dda19f691
Reorganize output writing
2016-11-26 12:15:55 -08:00
Anthony Sottile
c3c98afe4f
Support pre-commit from inside submodules
2015-12-18 15:35:44 -08:00
Anthony Sottile
f4d4679fd7
Remove adding config file in one place
2015-12-09 14:27:22 -08:00
Anthony Sottile
0da258043f
Use path.join
2015-11-23 23:46:58 -08:00
Anthony Sottile
1dfcf10036
git grep -l tmpdir_factory | xargs sed -i 's/tmpdir_factory/tempdir_factory/g'
2015-10-01 10:24:54 -07:00
Anthony Sottile
02f0a1c434
Actually print while installing
2015-02-22 16:18:46 -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
85a76617c1
Refactor fixtures in tests.
2014-06-15 18:49:45 -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
cdfd3f7670
Move commands into their own files.
2014-06-13 19:52:14 -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
479eb51873
Implement Store. pre-commit now installs files to ~/.pre-commit
2014-05-02 14:56:47 -07:00
Anthony Sottile
5810ee4315
Implement merge-files only using @bukzor's method.
2014-04-15 09:17:55 -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
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
bcb00726a1
Clean up directories on failure. Closes #58 .
2014-04-03 22:54:27 -07:00
Anthony Sottile
ac67af21ec
Apply defaults to all of the configs. Much fewer .get()s
2014-03-31 23:22:13 -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
aa9c77abe8
Adds failing test for cwd problem.
2014-03-29 13:00:29 -07:00
Anthony Sottile
88686d298f
Add Runner interface.
2014-03-23 16:22: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
Ken Struys
1a9ace859a
added tests for node
2014-03-14 11:25:23 -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
5ca8f4ffa8
Repository now parses languages and manifests
2014-03-13 20:33:42 -07:00
Anthony Sottile
abea886a3d
Refactored how the installer works
2014-03-13 19:36:44 -07:00
Ken Struys
6cf21ec533
fixing build
2014-03-13 17:47:46 -07:00
Ken Struys
1d8af9ce50
moved the installing code to its own package
2014-03-13 17:31:58 -07:00
Anthony Sottile
9fa237fbe0
Write test for auto-validating manifest at root of repo
2014-03-13 14:45:08 -07:00