Skip to content

Commit 49002ec

Browse files
committed
doc: Explain tox usage, require tox-uv
1 parent c637739 commit 49002ec

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,20 @@ which can be installed similarly
7373
Developer installation
7474
======================
7575

76-
Pydra requires Python 3.11+. To install in developer mode:
77-
78-
::
76+
Pydra requires Python 3.11+. To install in developer mode::
7977

8078
git clone [email protected]:nipype/pydra.git
8179
cd pydra
8280
pip install -e ".[dev]"
8381

82+
In order to run pydra's test locally::
8483

85-
In order to run pydra's test locally:
86-
87-
::
84+
pytest pydra
8885

89-
pytest -vs pydra
86+
We use `tox <https://tox.wiki/>`_ to test versions and dependency sets.
87+
For example, to test on the minimum and latest dependencies, run::
9088

89+
tox -e py311-min -e py313-latest
9190

9291
It is also useful to install pre-commit:
9392

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[tox]
22
requires =
33
tox>=4
4+
tox-uv
45
envlist =
56
py3{11,12,13}-{latest,pre}
67
py311-min

0 commit comments

Comments
 (0)