mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
add support for dart as a hook language
This commit is contained in:
parent
0f08ba77c8
commit
f8e21cb78b
19 changed files with 227 additions and 29 deletions
|
|
@ -48,8 +48,8 @@ def exe_exists(exe: str) -> bool:
|
|||
)
|
||||
|
||||
|
||||
def run_setup_cmd(prefix: Prefix, cmd: Tuple[str, ...]) -> None:
|
||||
cmd_output_b(*cmd, cwd=prefix.prefix_dir)
|
||||
def run_setup_cmd(prefix: Prefix, cmd: Tuple[str, ...], **kwargs: Any) -> None:
|
||||
cmd_output_b(*cmd, cwd=prefix.prefix_dir, **kwargs)
|
||||
|
||||
|
||||
@overload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue