Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ to find the tests for a specific module or function.

PRs should ideally include tests for any new features or bug fixes.

To diagnose slow test speeds, you can run

```shell
uv run pyinstrument -m pytest
```

With any `pytest` options you wish to include, e.g. `-k` to run specific tests, or
`--collect-only` to only profile test collection time. This will generate a CLI-friendly
report of where time is being spent. For an interactive HTML report, you can run
`pyinstrument` with the `-r=html` option before the `-m pytest` part.

## Documentation

Documentation is hosted at <https://usethis.readthedocs.io/en/stable/>. It can be served
Expand Down