mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Change cmd_output_bs retcode arg to a boolean check
This commit is contained in:
parent
71925c47ea
commit
84b38f7b89
15 changed files with 28 additions and 26 deletions
|
|
@ -135,7 +135,7 @@ def test_init_templatedir_skip_on_missing_config(
|
|||
retcode, output = git_commit(
|
||||
fn=cmd_output_mocked_pre_commit_home,
|
||||
tempdir_factory=tempdir_factory,
|
||||
retcode=None,
|
||||
check=False,
|
||||
)
|
||||
|
||||
assert retcode == commit_retcode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue