mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Move test to install_uninstall test so environment variables apply
This commit is contained in:
parent
57cc814b8b
commit
0bb8a8fabe
6 changed files with 46 additions and 47 deletions
|
|
@ -102,11 +102,9 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None:
|
|||
help='Filename to check when running during `commit-msg`',
|
||||
)
|
||||
parser.add_argument(
|
||||
'--push-remote-name', help='Remote name used by `git push`.',
|
||||
)
|
||||
parser.add_argument(
|
||||
'--push-remote-url', help='Remote url used by `git push`.',
|
||||
'--remote-name', help='Remote name used by `git push`.',
|
||||
)
|
||||
parser.add_argument('--remote-url', help='Remote url used by `git push`.')
|
||||
parser.add_argument(
|
||||
'--hook-stage', choices=C.STAGES, default='commit',
|
||||
help='The stage during which the hook is fired. One of %(choices)s',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue