Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: 3.x

Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ repos:
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
- tomli
- repo: https://github.com/rstcheck/rstcheck
rev: v6.2.5
hooks:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ those fixtures are shared between threads.
adding support for Python 3.14 to a library that already
runs tests under pytest-run-parallel on Python 3.13 or
older.
- `--mark-hypothesis-as-unsafe` to always skip runing tests that
- `--mark-hypothesis-as-unsafe` to always skip running tests that
use [hypothesis](https://github.com/hypothesisworks/hypothesis).
While newer version of Hypothesis are thread-safe, and versions
which are not are automatically skipped by `pytest-run-parallel`,
Expand Down Expand Up @@ -134,7 +134,7 @@ back to running all tests single-threaded.
## Requirements

`pytest-run-parallel` depends exclusively on `pytest`. Optionally
intalling `psutil` will help with identifying the number of logical
installing `psutil` will help with identifying the number of logical
cores available to the testing process in systems where that's not
possible with the Python stdlib.

Expand Down Expand Up @@ -315,7 +315,7 @@ def test_skip_if_parallel(num_parallel_threads):
...
```

The `thread_index` and `iteration_index` fixtures are also avaliable, which enable
The `thread_index` and `iteration_index` fixtures are also available, which enable
tests to display different behavior between threads and iterations.

```python
Expand Down