mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Also add run to the other invocations
This commit is contained in:
parent
eb7c9f44b4
commit
95f356d64e
1 changed files with 2 additions and 2 deletions
|
|
@ -59,10 +59,10 @@ if ((WHICH_RETV == 0)); then
|
|||
pre-commit run $args --config {config_file}
|
||||
PRE_COMMIT_RETV=$?
|
||||
elif ((ENV_PYTHON_RETV == 0)); then
|
||||
"$ENV_PYTHON" -m pre_commit.main $args
|
||||
"$ENV_PYTHON" -m pre_commit.main run $args
|
||||
PRE_COMMIT_RETV=$?
|
||||
else
|
||||
python -m pre_commit.main $args
|
||||
python -m pre_commit.main run $args
|
||||
PRE_COMMIT_RETV=$?
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue