Commit Graph

212 Commits

Author SHA1 Message Date
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
Anthony Sottile
af946a6b02 Merge pull request #87 from pre-commit/skip_40
Add mechanism to skip tests.  Closes #40.
2014-04-19 11:07:00 -07:00
Anthony Sottile
744b883b01 Add mechanism to skip hooks. Closes #40. 2014-04-19 11:06:25 -07:00
Anthony Sottile
a60b3a3971 Merge pull request #86 from pre-commit/more_utf8_85
Write files as utf8 more.  Closes #85.
2014-04-18 14:27:19 -07:00
Anthony Sottile
dd0c33fae3 Write files as utf8 more. Closes #85. 2014-04-18 14:05:34 -07:00
Anthony Sottile
9c35a113ee Merge pull request #84 from pre-commit/merge_conflict_files_only_31
Merge conflict files only 31
2014-04-15 11:38:19 -07:00
Anthony Sottile
3ebf976afb Add logging message. 2014-04-15 09:31:40 -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
db6e1afc75 Merge pull request #83 from pre-commit/merge_conflict_crash_82
Merge conflict crash 82
2014-04-13 23:57:45 -07:00
Anthony Sottile
2e4cde9cb0 Simplify has_unmerged_paths 2014-04-13 23:52:52 -07:00
Anthony Sottile
846ddeed67 Fixes crash during merge conflict. Closes #82. 2014-04-13 23:44:53 -07:00
Anthony Sottile
5f0cab9114 Add failing test. 2014-04-13 23:20:26 -07:00
Anthony Sottile
e9bc7acd7b Merge branch 'master' of github.com:pre-commit/pre-commit 2014-04-13 23:00:06 -07:00
Anthony Sottile
0075ff4e6f Update setup.py 2014-04-13 22:59:38 -07:00
Anthony Sottile
f711686feb Merge pull request #81 from pre-commit/file_stashing_flakiness
Fix (hopefully) bug where an empty patch was generated.  Closes #76
2014-04-13 21:27:41 -07:00
Anthony Sottile
f94f56addf Fix (hopefully) bug where an empty patch was generated. Closes #76 2014-04-13 21:22:08 -07:00
Anthony Sottile
6d8621c09c Merge pull request #80 from pre-commit/no_stash_68
Don't stash with --all-files.
2014-04-13 20:17:53 -07:00
Anthony Sottile
3e2b1862ad Don't stash with --all-files. Closes #68. 2014-04-13 20:04:58 -07:00
Anthony Sottile
8a8b2241a6 Add --no-stash option. 2014-04-13 20:00:10 -07:00
Anthony Sottile
5386b0eea0 Pass write down from commands to logging handler. 2014-04-13 18:43:43 -07:00
Anthony Sottile
374ef75835 Convert LoggingHandler to use sys.stdout.write 2014-04-13 18:36:14 -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
2c7ec7a744 Merge pull request #79 from pre-commit/skip_if_no_files
Skip if no files
2014-04-13 17:47:18 -07:00
Anthony Sottile
de24712a6f Skip hooks if no files to check. Closes #69. 2014-04-13 17:39:58 -07:00
Anthony Sottile
6c940c5145 Simplify commands test. 2014-04-13 17:12:34 -07:00
Anthony Sottile
e297b210a5 Merge pull request #78 from pre-commit/improve_test_coverage
Improve test coverage
2014-04-13 15:55:12 -07:00
Anthony Sottile
681ddf99b7 Fix Py3 2014-04-13 15:47:27 -07:00
Anthony Sottile
105b832585 Bump up to 93% 2014-04-13 15:39:31 -07:00
Anthony Sottile
7d4787eced Increase coverage moar 2014-04-13 15:28:48 -07:00
Anthony Sottile
0fec434380 Improve coverage for validators. 2014-04-13 14:45:39 -07:00
Anthony Sottile
cd36e9e779 Fix Py3 2014-04-13 14:29:45 -07:00
Anthony Sottile
5eda121260 Move stuff into commands and write tests. 2014-04-13 14:07:52 -07:00
Anthony Sottile
47c68820d0 Merge pull request #74 from pre-commit/py3
Python 3 compatibility.
2014-04-12 23:53:05 -07:00
Anthony Sottile
064c54dd2b Bump down coverage number due to five 2014-04-12 23:46:03 -07:00
Anthony Sottile
366bc1d1cc Fix str() call 2014-04-12 23:46:03 -07:00
Anthony Sottile
bb365a6e68 Python 3 compatibility. 2014-04-12 23:46:03 -07:00
Anthony Sottile
ddebb83a40 Merge pull request #77 from pre-commit/rebuild_venv
Rebuild virtualenv on requirements change.
2014-04-12 23:30:11 -07:00
Anthony Sottile
2bfb85e52e Rebuild virtualenv on requirements change. 2014-04-12 23:25:49 -07:00