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
Chris Kuehl
231f6013bb
Allow more time on the concurrency test
...
Spawning processes is apparently really slow on Windows, and the test is
occasionally taking slightly more than a second on AppVeyor. I think we
can allow up to the full 2.5 seconds without losing the valuable bits of
the test.
2018-10-24 16:33:06 -07:00
Chris Kuehl
b6926e8e2e
Attempt to partition files to use all possible cores
2018-10-24 16:33:06 -07:00
Chris Kuehl
ec0ed8aef5
Handle CPU detection errors and running on Travis
2018-10-24 16:16:13 -07:00
Chris Kuehl
ba5e27e4ec
Implement concurrent execution of individual hooks
2018-10-24 16:16:10 -07:00
Anthony Sottile
1f1cd2bc39
Merge pull request #839 from georgeyk/refactor-xargs-partition
...
Update xargs.partition with platform information
2018-10-23 22:55:30 -07:00
Anthony Sottile
ead906aed0
Compute win32 python2 length according to encoded size
2018-10-23 22:02:48 -07:00
Anthony Sottile
eecf3472ff
v1.12.0
v1.12.0
2018-10-23 10:55:09 -07:00
Anthony Sottile
0c9a53bf1b
Correct resources declaration
2018-10-23 10:50:35 -07:00
Anthony Sottile
47e4f39436
Merge pull request #852 from pre-commit/install_only_once
...
Install multi-hook repositories only once
2018-10-23 10:47:22 -07:00
Anthony Sottile
6cde287a1e
Install multi-hook repositories only once
2018-10-23 10:28:37 -07:00
Anthony Sottile
fcdd638134
Merge pull request #847 from pre-commit/improve_coverage
...
Improve coverage of check_hooks_apply
2018-10-14 16:28:32 -07:00
Anthony Sottile
f19bf57afc
Merge pull request #846 from pre-commit/performance
...
Improve performance by factoring out pkg_resources
2018-10-14 15:32:18 -07:00
Anthony Sottile
8e8b962266
Improve coverage of check_hooks_apply
2018-10-14 15:00:57 -07:00