mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 20:40:08 -06:00
Also add run to the other invocations
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user