mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 01:51:46 +04:00
v0.6.0
This commit is contained in:
parent
a8e43afb07
commit
223f0d4dfb
5 changed files with 8 additions and 4 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
0.6.0
|
||||||
|
=====
|
||||||
|
- Filter hooks by stage (commit, push).
|
||||||
|
|
||||||
0.5.5
|
0.5.5
|
||||||
=====
|
=====
|
||||||
- Change permissions a few files
|
- Change permissions a few files
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ PREVIOUS_IDENTIFYING_HASHES = (
|
||||||
'4d9958c90bc262f47553e2c073f14cfe',
|
'4d9958c90bc262f47553e2c073f14cfe',
|
||||||
'd8ee923c46731b42cd95cc869add4062',
|
'd8ee923c46731b42cd95cc869add4062',
|
||||||
'49fd668cb42069aa1b6048464be5d395',
|
'49fd668cb42069aa1b6048464be5d395',
|
||||||
'79f09a650522a87b0da915d0d983b2de'
|
'79f09a650522a87b0da915d0d983b2de',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ def main(argv=None):
|
||||||
)
|
)
|
||||||
run_parser.add_argument(
|
run_parser.add_argument(
|
||||||
'--hook-stage', choices=('commit', 'push'), default='commit',
|
'--hook-stage', choices=('commit', 'push'), default='commit',
|
||||||
help='The stage during which the hook is fired e.g. commit or push'
|
help='The stage during which the hook is fired e.g. commit or push',
|
||||||
)
|
)
|
||||||
run_mutex_group = run_parser.add_mutually_exclusive_group(required=False)
|
run_mutex_group = run_parser.add_mutually_exclusive_group(required=False)
|
||||||
run_mutex_group.add_argument(
|
run_mutex_group.add_argument(
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -9,7 +9,7 @@ setup(
|
||||||
'hooks.'
|
'hooks.'
|
||||||
),
|
),
|
||||||
url='https://github.com/pre-commit/pre-commit',
|
url='https://github.com/pre-commit/pre-commit',
|
||||||
version='0.5.5',
|
version='0.6.0',
|
||||||
|
|
||||||
author='Anthony Sottile',
|
author='Anthony Sottile',
|
||||||
author_email='asottile@umich.edu',
|
author_email='asottile@umich.edu',
|
||||||
|
|
|
||||||
|
|
@ -493,7 +493,7 @@ def test_local_hook_fails(
|
||||||
options={},
|
options={},
|
||||||
expected_outputs=[b''],
|
expected_outputs=[b''],
|
||||||
expected_ret=1,
|
expected_ret=1,
|
||||||
stage=False
|
stage=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue