Skip to content

Commit c55949e

Browse files
Update tests to reflect new behaviour
1 parent 1922d4e commit c55949e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/usethis/_core/test_core_tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ def test_pre_commit_after(
632632
"☐ Install the dependency 'pre-commit'.\n"
633633
"✔ Writing '.pre-commit-config.yaml'.\n"
634634
"✔ Adding hook 'deptry' to '.pre-commit-config.yaml'.\n"
635-
"☐ Run 'pre-commit install' to register pre-commit.\n"
635+
"☐ Run 'uv run pre-commit install' to register pre-commit.\n"
636636
"☐ Run 'uv run pre-commit run --all-files' to run the hooks manually.\n"
637637
)
638638

@@ -1481,7 +1481,7 @@ def test_fresh(self, uv_init_dir: Path, capfd: pytest.CaptureFixture[str]):
14811481
"☐ Remove the placeholder hook in '.pre-commit-config.yaml'.\n"
14821482
"☐ Replace it with your own hooks.\n"
14831483
"☐ Alternatively, use 'usethis tool' to add other tools and their hooks.\n"
1484-
"☐ Run 'pre-commit install' to register pre-commit.\n"
1484+
"☐ Run 'uv run pre-commit install' to register pre-commit.\n"
14851485
"☐ Run 'uv run pre-commit run --all-files' to run the hooks manually.\n"
14861486
)
14871487
# Config file

0 commit comments

Comments
 (0)