Skip to content

Commit 2ad361f

Browse files
committed
Fix documentation
1 parent e67ee9f commit 2ad361f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎docs/CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ To set up the development environment, you can run:
2020
# Install uv
2121
$ pip install uv
2222
# Run the noxfile.py script
23-
$ uv run noxfile.py dev
23+
$ uv run noxfile.py -s dev
2424
2525
By default, this will create a virtual environment with Python 3.8 and install all the required dependencies.
2626
If you need to setup the development environment with a specific Python version, you can run:
2727

2828
.. code-block:: bash
2929
30-
$ uv run noxfile.py dev -P 3.10
30+
$ uv run noxfile.py -s dev -P 3.10
3131
3232
Running Tests
3333
-------------

‎noxfile.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
$ uv run noxfile.py -- --coverage
2727
2828
Set up a development environment with the default Python version (3.8):
29-
$ uv run noxfile.py dev
29+
$ uv run noxfile.py -s dev
3030
Set up a development environment with a specific Python version:
31-
$ uv run noxfile.py dev -P 3.X
32-
$ uv run noxfile.py dev -P pypy-3.X # For PyPy
31+
$ uv run noxfile.py -s dev -P 3.X
32+
$ uv run noxfile.py -s dev -P pypy-3.X # For PyPy
3333
"""
3434
import nox
3535

@@ -85,8 +85,8 @@ def dev(session):
8585
This will create a virtual environment and install the package in editable mode in .venv.
8686
8787
To use a specific Python version, use the -P option:
88-
$ uv run noxfile.py dev -P 3.X
89-
$ uv run noxfile.py dev -P pypy-3.X # For PyPy
88+
$ uv run noxfile.py -s dev -P 3.X
89+
$ uv run noxfile.py -s dev -P pypy-3.X # For PyPy
9090
"""
9191
session.run("uv", "venv", "--python", session.python or f"3.{PYTHON_MINOR_VERSION_MIN}", "--seed")
9292
session.run(".venv/bin/pip", "install", "-r", "requirements-test.txt", external=True)

0 commit comments

Comments
 (0)