mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 12:30:08 -06:00
v0.6.0
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
0.6.0
|
||||
=====
|
||||
- Filter hooks by stage (commit, push).
|
||||
|
||||
0.5.5
|
||||
=====
|
||||
- Change permissions a few files
|
||||
|
||||
@@ -20,7 +20,7 @@ PREVIOUS_IDENTIFYING_HASHES = (
|
||||
'4d9958c90bc262f47553e2c073f14cfe',
|
||||
'd8ee923c46731b42cd95cc869add4062',
|
||||
'49fd668cb42069aa1b6048464be5d395',
|
||||
'79f09a650522a87b0da915d0d983b2de'
|
||||
'79f09a650522a87b0da915d0d983b2de',
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
2
setup.py
2
setup.py
@@ -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',
|
||||
|
||||
@@ -493,7 +493,7 @@ def test_local_hook_fails(
|
||||
options={},
|
||||
expected_outputs=[b''],
|
||||
expected_ret=1,
|
||||
stage=False
|
||||
stage=False,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user