5.3.1.14.1.1. cli.cmd_pre_commit.pre_commit_impl.run_pre_commit
- cli.cmd_pre_commit.pre_commit_impl.run_pre_commit(args: list[str], stderr: int | None = None, stdout: int | None = None) SubprocessResult
Run the pre-commit binary with the provided arguments.
- Parameters:
args – List of arguments to pass to the pre-commit binary.
stderr – Optional file descriptor for standard error.
stdout – Optional file descriptor for standard output.
- Returns:
The result of the pre-commit execution.