File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ $ uvx usethis init
120120☐ Add test files to the '/tests' directory with the format 'test_*.py'.
121121☐ Add test functions with the format 'test_*()'.
122122☐ Run 'uv run pytest' to run the tests.
123+ ☐ Run 'uv run pytest --cov' to run your tests with Coverage.py.
123124```
124125
125126To use Ruff on an existing project, run:
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ def test_pre_commit_included(self, tmp_path: Path):
3939 "☐ Add test files to the '/tests' directory with the format 'test_*.py'.\n "
4040 "☐ Add test functions with the format 'test_*()'.\n "
4141 "☐ Run 'uv run pytest' to run the tests.\n "
42+ "☐ Run 'uv run pytest --cov' to run your tests with Coverage.py.\n "
4243 )
4344
4445 # Check the pre-commit hooks are added in the correct order
@@ -87,6 +88,7 @@ def test_readme_example(self, tmp_path: Path):
8788☐ Add test files to the '/tests' directory with the format 'test_*.py'.
8889☐ Add test functions with the format 'test_*()'.
8990☐ Run 'uv run pytest' to run the tests.
91+ ☐ Run 'uv run pytest --cov' to run your tests with Coverage.py.
9092"""
9193 )
9294
@@ -156,6 +158,7 @@ def test_bitbucket_docstyle_and_status(self, tmp_path: Path):
156158 "☐ Add test files to the '/tests' directory with the format 'test_*.py'.\n "
157159 "☐ Add test functions with the format 'test_*()'.\n "
158160 "☐ Run 'uv run pytest' to run the tests.\n "
161+ "☐ Run 'uv run pytest --cov' to run your tests with Coverage.py.\n "
159162 "✔ Adding Bitbucket Pipelines configuration.\n "
160163 "☐ Run your pipeline via the Bitbucket website.\n "
161164 )
You can’t perform that action at this time.
0 commit comments