Skip to content

Adds a tox.ini file for easier local testing against all Python versions #1160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2022
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
14 changes: 14 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,20 @@ pdm run test

The test suite is still simple and needs expansion! Please help write more test cases.

!!! note
You can also run your test suite against all supported Python version using `tox` with the `tox-pdm` plugin.
You can either run it by yourself with:

```shell
tox
```

or from `pdm` with:

```shell
pdm run tox
```

### Code style

PDM uses `pre-commit` for linting. Install `pre-commit` first, then:
Expand Down
1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ nav:
- dev/benchmark.md

markdown_extensions:
- admonition
- pymdownx.highlight:
linenums: true
- pymdownx.superfences
Expand Down
1 change: 1 addition & 0 deletions news/1160.misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Provides a `tox.ini` file for easier local testing against all Python versions.
Loading