This commit is contained in:
Anthony Sottile
2015-10-05 07:52:00 -07:00
parent a8e43afb07
commit 223f0d4dfb
5 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
0.6.0
=====
- Filter hooks by stage (commit, push).
0.5.5
=====
- Change permissions a few files

View File

@@ -20,7 +20,7 @@ PREVIOUS_IDENTIFYING_HASHES = (
'4d9958c90bc262f47553e2c073f14cfe',
'd8ee923c46731b42cd95cc869add4062',
'49fd668cb42069aa1b6048464be5d395',
'79f09a650522a87b0da915d0d983b2de'
'79f09a650522a87b0da915d0d983b2de',
)

View File

@@ -102,7 +102,7 @@ def main(argv=None):
)
run_parser.add_argument(
'--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.add_argument(

View File

@@ -9,7 +9,7 @@ setup(
'hooks.'
),
url='https://github.com/pre-commit/pre-commit',
version='0.5.5',
version='0.6.0',
author='Anthony Sottile',
author_email='asottile@umich.edu',

View File

@@ -493,7 +493,7 @@ def test_local_hook_fails(
options={},
expected_outputs=[b''],
expected_ret=1,
stage=False
stage=False,
)