Commit Graph

251 Commits

Author SHA1 Message Date
Anthony Sottile
a7506061bd Add -V / --version 2014-06-15 12:49:51 -07:00
Anthony Sottile
e47119d2a8 Merge pull request #115 from pre-commit/reorganize_commands
Reorganize commands
2014-06-14 09:38:17 -07:00
Anthony Sottile
cdfd3f7670 Move commands into their own files. 2014-06-13 19:52:14 -07:00
Anthony Sottile
111ed02938 git mv pre_commit/run.py pre_commit/main.py 2014-06-13 19:52:08 -07:00
Anthony Sottile
13c1b5295c Merge pull request #113 from pre-commit/merge_conflict_detection
Fix merge conflict detection for cherry-pick conflict.
2014-06-13 08:06:57 -07:00
Anthony Sottile
c4e4c2dccb Fix merge conflict detection for cherry-pick conflict. 2014-06-13 06:50:17 -07:00
Anthony Sottile
5a1accd697 This is v0.1.1 v0.1.1 2014-06-11 18:19:00 -07:00
Anthony Sottile
87b3bf1e42 Merge pull request #110 from pre-commit/no_defaults_autoupdate
Don't add defaults when updating.
2014-06-11 18:04:19 -07:00
Anthony Sottile
1701756988 Don't add defaults when updating. 2014-06-11 17:41:45 -07:00
Anthony Sottile
76c463e359 This is v0.1.0 v0.1.0 2014-06-07 15:34:41 -07:00
Anthony Sottile
cf710d4ca2 Merge pull request #108 from pre-commit/rbenv_rvm_download
Attempt ruby-download before ruby-build.
2014-06-07 14:35:55 -07:00
Anthony Sottile
07664a80ca Attempt ruby-download before ruby-build. 2014-06-07 14:25:44 -07:00
Anthony Sottile
09650b814a Allow language_version to be overridden in config. 2014-06-07 13:27:45 -07:00
Ken Struys
7edb438d76 Merge pull request #105 from pre-commit/files_specified_in_hooks
Files specified in hooks
2014-06-06 09:58:01 -07:00
Anthony Sottile
9b03068189 Remove most of five 2014-06-06 07:52:02 -07:00
Anthony Sottile
01b557c497 Various cleanup. 2014-06-06 07:38:25 -07:00
Anthony Sottile
bf912cfebb Add checking for manifest files regex. 2014-06-06 06:53:00 -07:00
Anthony Sottile
bd1afceeaf Update config to point at new sha. 2014-06-05 18:40:18 -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
0ec9020346 Remove timid coverage. 2014-06-05 15:52:36 -07:00
Anthony Sottile
d6a36f1331 Add coveralls 2014-06-05 10:02:00 -07:00
Anthony Sottile
76728cee53 Update pre-commit config. 2014-06-05 09:22:30 -07:00
Anthony Sottile
c7cfed6992 requirements_dev -> requirements-dev 2014-06-05 09:08:37 -07:00
Anthony Sottile
5549eb6614 MIT 2014-06-05 08:57:40 -07:00
Ken Struys
b9c9d67b1f Merge pull request #100 from pre-commit/language_version
Allow an optional language_version property in hooks.yaml
2014-06-03 15:13:33 -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
4b98b39cea language_version works for python. 2014-06-02 07:26:44 -07:00
Anthony Sottile
a7ab9b2a28 Pass language_version to the install method for each language. 2014-06-02 06:57:07 -07:00
Anthony Sottile
4f2f1731ea Add language_version to the manifest loader. 2014-06-02 06:50:57 -07:00
Anthony Sottile
914a74f80b Make language check more strict. 2014-06-02 06:47:59 -07:00
Anthony Sottile
fdd6989ece Add failing test for versioned repositories. 2014-06-02 06:39:46 -07:00
Anthony Sottile
3baae2fd1e Merge pull request #97 from pre-commit/use_asottile_cached_property
Use asottile.cached_property.
2014-06-01 16:52:42 -07:00
Anthony Sottile
39c4ee6e96 Use asottile.cached_property. 2014-06-01 16:41:58 -07:00
Anthony Sottile
619bca2bdc Use Python3.4 on travis. 2014-06-01 16:06:50 -07:00
Anthony Sottile
3213703a49 Use 1.9.3-p547 instead. 2014-06-01 16:06:35 -07:00
Anthony Sottile
0f2e5f844f Merge pull request #96 from pre-commit/system_hooks_with_spaces
Allow spaces in system hooks.  Closes #95.
2014-05-18 14:30:06 -07:00
Anthony Sottile
61606cfaa4 Allow spaces in system hooks. Closes #95. 2014-05-18 14:20:11 -07:00
Anthony Sottile
53e316ade4 Remove unused rvm 2014-05-14 17:40:05 -07:00
Anthony Sottile
a20150a495 Merge pull request #94 from pre-commit/ruby_for_realz
Support ruby through a combination of rbenv, ruby-build, and GEM_HOME
2014-05-04 21:59:17 -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
390af24c44 Merge pull request #92 from pre-commit/simplify_repo_cmd_runner
Simplify Repository.cmd_runner
2014-05-02 23:49:53 -07:00
Anthony Sottile
c5cbd473c7 Simplify Repository.cmd_runner 2014-05-02 22:47:23 -07:00
Anthony Sottile
f9db2b5b06 Merge pull request #91 from pre-commit/failing_test_long_filenames_90
Implement `Store`. pre-commit now installs files to ~/.pre-commit
2014-05-02 17:07:55 -07:00
Anthony Sottile
09b5152f7d Remove unused duplicated fixture 2014-05-02 16:53:52 -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
26af2cecab Add failing test for #90. 2014-04-20 00:17:32 -04:00
Anthony Sottile
4f122a3e6c Merge pull request #89 from pre-commit/display_hook_ids_88
Include hook id in output with --verbose.  Closes #88.
2014-04-19 20:11:50 -07:00
Anthony Sottile
cce97ccba9 Include hook id in output with --verbose. Closes #88. 2014-04-19 22:27:21 -04:00
Anthony Sottile
edb04422b8 Not sure why it was -6. Changed to -1 2014-04-19 15:44:43 -07:00