Commit Graph

295 Commits

Author SHA1 Message Date
Anthony Sottile
76b42056ee More fixes for tests under osx 2014-06-26 20:00:48 -07:00
Anthony Sottile
aae98a0899 make a few more tests pass on osx. 2014-06-23 09:32:48 -07:00
Anthony Sottile
d02f41920f Merge pull request #131 from pre-commit/non_utf8_diff
Treat diffs as maybe-not-utf8.
2014-06-23 07:50:34 -07:00
Anthony Sottile
e40a151e8c Treat diffs as maybe-not-utf8. 2014-06-23 07:49:14 -07:00
Anthony Sottile
105af6fd58 Version 0.2.2 v0.2.2 2014-06-22 14:38:10 -07:00
Ken Struys
b136679abb Merge pull request #130 from pre-commit/filenames_with_spaces
Fix filenames with spaces in them.
2014-06-20 14:54:06 -07:00
Anthony Sottile
2ec7a34035 Fix filenames with spaces in them. 2014-06-20 10:20:02 -07:00
Anthony Sottile
061ac81682 Merge pull request #128 from pre-commit/update_readme
Update README.md
2014-06-19 15:49:52 -07:00
Anthony Sottile
8a4ff03a31 Update README.md 2014-06-19 15:48:10 -07:00
Anthony Sottile
30ad96d563 This is v0.2.1 v0.2.1 2014-06-18 10:44:44 -07:00
Ken Struys
44330fbec8 Merge pull request #127 from pre-commit/allow_tags
Allow tags
2014-06-18 10:19:10 -07:00
Anthony Sottile
5d1ffcba75 Hashlib doesn't take unicode. 2014-06-18 07:37:17 -07:00
Anthony Sottile
a34f3fc7c9 Bump pre-commit config. 2014-06-18 07:37:17 -07:00
Anthony Sottile
4ec877628d Use hash of repository name to allow tags. 2014-06-18 07:37:16 -07:00
Anthony Sottile
d2a349a0d8 Add failing test for tags. 2014-06-18 07:36:43 -07:00
Anthony Sottile
bcb1283267 Merge pull request #126 from pre-commit/readlink_woes
Use less readlink for osx peeps.
2014-06-17 20:22:33 -07:00
Anthony Sottile
f63fa850c9 Use less readlink for osx peeps. 2014-06-17 20:17:47 -07:00
Anthony Sottile
81c4298e5f Use read-only git urls instead of git@ urls. 2014-06-17 19:50:02 -07:00
Ken Struys
832b8a84ee Merge pull request #124 from pre-commit/which_path_do_we_have
Use either pre-commit or python -m pre_commit.main.
2014-06-17 17:15:50 -07:00
Anthony Sottile
5e8a6414cd Use either pre-commit or python -m pre_commit.main. 2014-06-17 17:01:51 -07:00
Ken Struys
1045b76ca6 Update README.md 2014-06-17 16:46:30 -07:00
Anthony Sottile
fe29f334e8 This is 0.2.0 v0.2.0 2014-06-17 10:00:05 -07:00
Anthony Sottile
942fe29709 Merge pull request #122 from pre-commit/aspy
Use aspy.yaml instead.
2014-06-17 09:41:02 -07:00
Anthony Sottile
5575dbae05 Use aspy.yaml instead. 2014-06-17 09:29:39 -07:00
Anthony Sottile
fe5e829ea4 Merge pull request #121 from pre-commit/packages_redux
Packages redux
2014-06-17 08:00:10 -07:00
Anthony Sottile
a984a02c84 Make ordereddict a direct dependency. 2014-06-17 06:59:13 -07:00
Anthony Sottile
203c554734 Use cached-property package. 2014-06-17 06:49:54 -07:00
Anthony Sottile
3a38cf4227 Merge pull request #120 from pre-commit/pcre
Add pcre type.
2014-06-16 21:19:49 -07:00
Anthony Sottile
2cfd2818b5 Add pcre type. 2014-06-16 21:11:00 -07:00
Anthony Sottile
38673941dc Merge pull request #119 from pre-commit/migration_mode
Migration mode
2014-06-16 19:02:50 -07:00
Anthony Sottile
0cde0fdc48 Uninstall restores hooks. 2014-06-16 17:48:56 -07:00
Anthony Sottile
f4d16b9cdc Combine install and uninstall. 2014-06-16 17:45:13 -07:00
Anthony Sottile
ac735e85e2 Make install -f / --overwrite work. 2014-06-16 17:41:16 -07:00
Anthony Sottile
1d8394afd0 Add first pass at migration mode. 2014-06-16 15:31:22 -07:00
Anthony Sottile
8f3f5c364a Add test for failure condition. 2014-06-16 14:27:30 -07:00
Anthony Sottile
a744a6484e git mv pre_commit/resources/pre-commit.sh pre_commit/resources/pre-commit-hook 2014-06-16 13:07:54 -07:00
Anthony Sottile
39470c98ca Add expected behaviour for failure to find pre_commit. 2014-06-16 13:03:00 -07:00
Anthony Sottile
4b43fd8cdc Add integration test for existing install behaviour 2014-06-16 12:53:26 -07:00
Anthony Sottile
332e8b480b Merge pull request #117 from pre-commit/refactor_tests
Refactor tests
2014-06-15 19:03:50 -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
92aa55f44e Merge pull request #116 from pre-commit/version_command
Add -V / --version
2014-06-15 13:05:19 -07:00
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