Skip to content

Commit f066e98

Browse files
Update tests to reflect new behaviour
1 parent 3696493 commit f066e98

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

tests/usethis/_ui/interface/test_init.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ def test_pre_commit_included(self, tmp_path: Path):
3838
"☐ Run 'uv run ruff check --fix' to run the Ruff linter with autofixes.\n"
3939
"✔ Adding recommended formatters.\n"
4040
"☐ Run 'uv run ruff format' to run the Ruff formatter.\n"
41-
"☐ Run 'uv run pre-commit run pyproject-fmt --all-files' to run pyproject-fmt.\n"
41+
"☐ Run 'uv run pyproject-fmt pyproject.toml' to run pyproject-fmt.\n"
4242
"✔ Adding recommended spellcheckers.\n"
43-
"☐ Run 'uv run pre-commit run codespell --all-files' to run the Codespell \n"
44-
"spellchecker.\n"
43+
"☐ Run 'uv run codespell' to run the Codespell spellchecker.\n"
4544
"✔ Adding recommended test frameworks.\n"
4645
"☐ Add test files to the '/tests' directory with the format 'test_*.py'.\n"
4746
"☐ Add test functions with the format 'test_*()'.\n"
@@ -121,11 +120,10 @@ def test_bitbucket_docstyle_and_status(self, tmp_path: Path):
121120
"☐ Run 'uv run ruff check --fix' to run the Ruff linter with autofixes.\n"
122121
"✔ Adding recommended formatters.\n"
123122
"☐ Run 'uv run ruff format' to run the Ruff formatter.\n"
124-
"☐ Run 'uv run pre-commit run pyproject-fmt --all-files' to run pyproject-fmt.\n"
123+
"☐ Run 'uv run pyproject-fmt pyproject.toml' to run pyproject-fmt.\n"
125124
"✔ Setting docstring style to numpy.\n"
126125
"✔ Adding recommended spellcheckers.\n"
127-
"☐ Run 'uv run pre-commit run codespell --all-files' to run the Codespell \n"
128-
"spellchecker.\n"
126+
"☐ Run 'uv run codespell' to run the Codespell spellchecker.\n"
129127
"✔ Adding recommended test frameworks.\n"
130128
"☐ Add test files to the '/tests' directory with the format 'test_*.py'.\n"
131129
"☐ Add test functions with the format 'test_*()'.\n"

0 commit comments

Comments
 (0)