1351 Commits

Author SHA1 Message Date
Anthony Sottile
90cfe677bc v1.14.2 v1.14.2 2019-01-10 16:04:07 -08:00
Anthony Sottile
4621859936 Merge pull request #915 from pre-commit/defpath
Be more timid about choosing a shebang
2019-01-10 15:21:38 -08:00
Anthony Sottile
4f8a9580aa Be more timid about choosing a shebang 2019-01-10 14:26:55 -08:00
Anthony Sottile
cc1af1da06 v1.14.1 v1.14.1 2019-01-10 10:21:36 -08:00
Anthony Sottile
f1f299c4b8 Merge pull request #914 from pre-commit/self_exe_python
Use sys.executable if it matches the requested version
2019-01-10 09:44:47 -08:00
Anthony Sottile
32d65236bf Use sys.executable if it matches the requested version 2019-01-10 06:48:49 -08:00
Anthony Sottile
1cf4b54cba v1.14.0 v1.14.0 2019-01-08 10:57:44 -08:00
Anthony Sottile
84c398d6f4 Merge pull request #912 from asottile/intent_to_add
Fix staged-files-only for `git add --intent-to-add` files
2019-01-08 10:36:00 -08:00
Anthony Sottile
e60579d9f3 Fix staged-files-only for git add --intent-to-add files 2019-01-08 09:28:57 -08:00
Anthony Sottile
2941a1142b Merge pull request #911 from asottile/bump_cfgv
bump cfgv, forgot in last PR
2019-01-07 08:15:42 -08:00
Anthony Sottile
8432d9b692 bump cfgv, forgot in last PR 2019-01-07 07:38:16 -08:00
Anthony Sottile
a2b536030a Merge pull request #910 from asottile/cleanup_tests
small cleanups in tests
2019-01-06 12:59:13 -08:00
Anthony Sottile
bea33af310 small cleanups in tests 2019-01-06 12:08:52 -08:00
Anthony Sottile
782244a7b8 Merge pull request #909 from asottile/default_stages
Implement default_stages
2019-01-06 11:29:41 -08:00
Anthony Sottile
bd65d8947f Implement default_stages 2019-01-06 10:32:58 -08:00
Anthony Sottile
9c6a1d80d6 Merge pull request #908 from asottile/default_language_version
Implement default_language_version
2019-01-05 13:47:18 -08:00
Anthony Sottile
d3b5a41830 Implement default_language_version 2019-01-05 13:15:23 -08:00
Anthony Sottile
579b05e424 Merge pull request #907 from asottile/schema_default
Default local / meta through cfgv
2019-01-05 09:06:18 -08:00
Anthony Sottile
fc84567923 Default local / meta through cfgv 2019-01-05 08:31:03 -08:00
Anthony Sottile
46ae88c1f0 Merge pull request #906 from asottile/gc
pre-commit gc
2019-01-02 19:46:38 -08:00
Anthony Sottile
9e34e6e316 pre-commit gc 2019-01-02 19:07:23 -08:00
Anthony Sottile
d7f5c6f979 Merge pull request #904 from asottile/clone_uncommitted
Teach pre-commit try-repo to clone uncommitted changes
2019-01-01 15:56:02 -08:00
Anthony Sottile
e4f0b4c1b7 Only configure logging inside the context 2019-01-01 15:01:37 -08:00
Anthony Sottile
bdc58cc33f Teach pre-commit try-repo to clone uncommitted changes 2019-01-01 15:01:36 -08:00
Anthony Sottile
e04505a669 Merge pull request #903 from pre-commit/relative_chdir_try_repo
Fix try-repo relpath while in a sub-directory
2019-01-01 12:35:00 -08:00
Anthony Sottile
4da461d90a Fix try-repo relpath while in a sub-directory 2019-01-01 11:57:06 -08:00
Anthony Sottile
b31cb22d8b Merge pull request #902 from pre-commit/windows_100
Add more 'no cover windows' comments
2018-12-31 14:35:09 -08:00
Anthony Sottile
4f9d0397b5 Add more 'no cover windows' comments 2018-12-31 14:06:10 -08:00
Anthony Sottile
177164b5a2 Merge pull request #901 from pre-commit/no_asdict
Use Hook api in languages
2018-12-31 13:27:32 -08:00
Anthony Sottile
b59d7197ff Use Hook api in languages 2018-12-31 13:16:48 -08:00
Anthony Sottile
5f9a667470 Merge pull request #900 from pre-commit/simplify_dict
just use normal dicts in tests
2018-12-31 11:43:36 -08:00
Anthony Sottile
e4cf5f321b just use normal dicts in tests 2018-12-31 11:15:22 -08:00
Anthony Sottile
2125a4cf47 Merge pull request #899 from pre-commit/repository_refactor
Refactor pre_commit.repository and factor out cached-property
2018-12-30 21:47:36 -08:00
Anthony Sottile
c577ed92e7 Refactor pre_commit.repository and factor out cached-property 2018-12-30 20:56:49 -08:00
Anthony Sottile
7448e588ff Merge pull request #898 from pre-commit/identity
Add identity meta hook
2018-12-29 13:34:30 -08:00
Anthony Sottile
a49a34ef3d Add identity meta hook 2018-12-29 13:13:31 -08:00
Anthony Sottile
d2b92e8170 Merge pull request #894 from s0undt3ch/hotfix/no-gpg-sign
Don't fail if GPG signing is configured by default. All references.
2018-12-28 16:20:51 -08:00
Anthony Sottile
160a11a0a7 Improve git_commit helper 2018-12-28 15:32:25 -08:00
Pedro Algarvio
28c97a95cd Don't fail if GPG signing is configured by default. All references. 2018-12-28 20:11:37 +00:00
Anthony Sottile
7afb2944b2 Merge pull request #896 from pre-commit/cleanup
misc cleanup
2018-12-27 19:26:16 -08:00
Anthony Sottile
d46bbc486f Use in_git_dir in more places 2018-12-27 18:25:54 -08:00
Anthony Sottile
2af0b0b4f3 better no-cover for windows 2018-12-27 18:25:52 -08:00
Anthony Sottile
8c550d0157 Merge pull request #886 from s0undt3ch/features/repo-alias
Allow aliasing a hook and calling it by it's alias
2018-12-27 12:17:29 -08:00
Anthony Sottile
6d40b2a38b Simplify the skip test to only test skipping 2018-12-27 09:24:41 -08:00
Pedro Algarvio
8ffd1f69d7 Address review comments 2018-12-27 17:18:11 +00:00
Pedro Algarvio
79c8b1fceb Allow hook alias to be used in SKIP. Includes test. 2018-12-27 12:03:27 +00:00
Pedro Algarvio
5840f880a9 Address review comments and test failures 2018-12-27 12:03:27 +00:00
Pedro Algarvio
afbc57f2ad Go back to optional. Requires less changes to existing code. 2018-12-27 12:03:27 +00:00
Pedro Algarvio
b096c0b8f2 Allow aliasing a hook and calling it by it's alias 2018-12-27 12:03:27 +00:00
Anthony Sottile
c5c0a0699b Merge pull request #895 from pre-commit/rip_runner
Remove stateful Runner
2018-12-26 23:11:38 -08:00