Commit Graph

39 Commits

Author SHA1 Message Date
Anthony Sottile
18c9e061d8 Small cleanups 2017-09-30 15:53:44 -07:00
Anthony Sottile
6af60158ec Refactor filename collection for hooks 2017-09-09 22:07:27 -07:00
Anthony Sottile
68ce070b65 Remove --unshallow fetch from travis-ci config 2017-09-05 17:13:14 -07:00
Anthony Sottile
0815108242 Handle non-ascii filenames from git 2017-09-05 08:10:16 -07:00
Anthony Sottile
6793fd8e5d Remove --no-stash and --allow-unstaged-config 2017-08-23 11:16:37 -07:00
Anthony Sottile
096f906912 More specific symlink testing without checking in a symlink 2017-07-02 21:49:41 -07:00
Anthony Sottile
964948b33d Fix non-ascii merge commit messages in python2 2017-05-10 12:52:24 -07:00
Anthony Sottile
b9e5184ebd Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml 2017-01-21 13:47:59 -08:00
Anthony Sottile
ba75867c93 py27+ syntax improvements 2017-01-21 11:49:53 -08:00
Anthony Sottile
db97cf3329 Don't run on deleted files. Resolves #374 2016-05-25 08:42:02 -07:00
Benjamin Chess
a70abd04e7 include checking symlinks 2016-01-15 12:50:04 -08:00
Anthony Sottile
c3c98afe4f Support pre-commit from inside submodules 2015-12-18 15:35:44 -08:00
Anthony Sottile
3f02a66e37 Use rev-parse --show-toplevel 2015-12-18 08:04:26 -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
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
e3d29a897b Make git errors throw FatalError 2014-08-13 10:43:32 -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
111ed02938 git mv pre_commit/run.py pre_commit/main.py 2014-06-13 19:52:08 -07:00
Anthony Sottile
c4e4c2dccb Fix merge conflict detection for cherry-pick conflict. 2014-06-13 06:50:17 -07:00
Anthony Sottile
5810ee4315 Implement merge-files only using @bukzor's method. 2014-04-15 09:17:55 -07:00
Anthony Sottile
1746a97e24 Better project structure 2014-04-12 15:56:18 -07:00
Anthony Sottile
535be5b33a Actually use the exclude pattern. Closes #47. 2014-03-31 23:35:25 -07:00
Anthony Sottile
c62c1a3b51 manifest -> hooks 2014-03-30 13:12:40 -07:00
Anthony Sottile
ecdacd474b Simplify the install and uninstall commands and improve tests. 2014-03-23 18:33:18 -07:00
Anthony Sottile
6188903ed7 Make the pre-commit actually executable. Closes #32 2014-03-18 21:40:08 -07:00
Anthony Sottile
bef4a01af9 Don't pass deleted files to pre-commit scripts. 2014-03-16 19:22:38 -07:00
Anthony Sottile
6649e180bb Adds some tests for get_files_matching 2014-03-16 19:11:33 -07:00
Anthony Sottile
abea886a3d Refactored how the installer works 2014-03-13 19:36:44 -07:00
Ken Struys
1d8af9ce50 moved the installing code to its own package 2014-03-13 17:31:58 -07:00
Ken Struys
320bb0a679 hopefully unbreaking the build 2014-03-13 17:06:23 -07:00
Ken Struys
3b0f03d0e0 Merge branch 'master' of github.com:pre-commit/pre-commit
Conflicts:
	tests/git_test.py
2014-03-13 16:48:02 -07:00
Ken Struys
6498321e1e added more integration with git repo creation 2014-03-13 16:29:59 -07:00
Anthony Sottile
9fa237fbe0 Write test for auto-validating manifest at root of repo 2014-03-13 14:45:08 -07:00
Ken Struys
e3d1f10ec3 added create repo 2014-03-13 14:37:22 -07:00
Ken Struys
94370d6e2b be nice about current directory in tests 2014-03-13 14:11:50 -07:00
Ken Struys
7e74821a5d added install and uninstall hooks 2014-03-13 13:59:05 -07:00