Commit Graph

1326 Commits

Author SHA1 Message Date
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
Anthony Sottile
2b8291d18f add a no-cover for py3 [ci skip] 2018-12-26 22:45:13 -08:00
Anthony Sottile
fe409f1a43 Remove stateful Runner 2018-12-26 22:33:21 -08:00
Anthony Sottile
1d40cc2104 Merge pull request #893 from pre-commit/shebang
Pick a better python shebang for hook executable
2018-12-25 21:05:21 -08:00
Anthony Sottile
de942894ff Pick a better python shebang for hook executable 2018-12-25 12:11:02 -08:00
Anthony Sottile
748c2ad273 v1.13.0 v1.13.0 2018-12-20 12:05:22 -08:00
Anthony Sottile
45a34d6b75 Merge pull request #888 from pre-commit/887_xfail_windows_node_again
xfail windows node until #887 is resolved
2018-12-19 17:04:21 -08:00
Anthony Sottile
91782bb6c8 xfail windows node until #887 is resolved 2018-12-19 17:03:52 -08:00
Anthony Sottile
d0c62aae7a Merge pull request #889 from pre-commit/no_document
Switch from deprecated docs-off args to --no-document
2018-12-19 14:40:22 -08:00
Anthony Sottile
435d9945a3 Switch from deprecated docs-off args to --no-document 2018-12-19 14:22:09 -08:00
Anthony Sottile
c292ba892b Merge pull request #885 from s0undt3ch/hotfix/no-gpg-sign
Don't fail if GPG signing is configured by default
2018-12-14 16:25:50 -05:00
Anthony Sottile
15b1f118b5 Update fixtures.py 2018-12-14 13:14:13 -08:00
Pedro Algarvio
afeac2f099 Don't fail if GPG signing is configured by default 2018-12-14 11:45:01 +00:00
Anthony Sottile
51659ee606 Merge pull request #874 from chriskuehl/shuffle-args
Shuffle arguments before running hooks
2018-11-19 23:00:36 -08:00
Chris Kuehl
45e3dab00d Shuffle arguments before running hooks 2018-11-19 17:53:19 -08:00
Anthony Sottile
6b6ebe7e30 Merge pull request #870 from pre-commit/bump_sample
Upgrade the sample config
2018-11-15 16:19:22 -08:00
Anthony Sottile
e15d7cde86 Upgrade the sample config 2018-11-15 14:17:10 -08:00
Anthony Sottile
dc84f21dd4 Merge pull request #857 from runz0rd/master
Reraises InvalidManifestError as RepositoryCannotBeUpdatedError
2018-11-14 17:29:43 -08:00
Anthony Sottile
aaa3976a29 Use text_type instead of str() 2018-11-13 17:23:32 -08:00
Milos Pejanovic
e339de22d7 Added requested changes 2018-11-14 01:59:18 +01:00
Milos Pejanovic
bf8c8521cd Added a test and small change for error output 2018-11-14 00:43:04 +01:00
Anthony Sottile
76e0f11916 Merge pull request #851 from chriskuehl/concurrent-execution
Implement concurrent execution of individual hooks
2018-11-01 18:46:13 -07:00
Anthony Sottile
6bac405d40 Minor cleanups 2018-11-01 18:05:36 -07:00
Milos Pejanovic
1c97d3f5fd Added a try except block which reraises InvalidManifestError as RepositoryCannotBeUpdatedError 2018-10-31 17:39:47 +01:00
Chris Kuehl
9125439c3a Force serial hook runs during tests 2018-10-24 16:33:06 -07:00
Chris Kuehl
aa50a8cde0 Switch to using concurrent.futures 2018-10-24 16:33:06 -07:00