call_precommit: Call pre-commit

View source: R/call.R

call_precommitR Documentation

Call pre-commit

Description

Either via ⁠conda run⁠ (because conda env needs to be activated in general to ensure an executable to runs successfully) or, if the installation method was not conda, as a plain bash command.

Usage

call_precommit(..., wait = TRUE)

Arguments

...

Arguments passed to the command line call pre-commit.

wait

Passed to base::system2().


lorenzwalthert/precommit documentation built on Feb. 7, 2025, 4:31 p.m.