File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -214,20 +214,20 @@ Above you create a nox session in the form of a function
214214with a ` @nox.session ` decorator. Notice that within the decorator you declare the versions of python that you
215215wish to run.
216216
217- To run the above you'd use the command where ` --session ` . You may also see
218- people using the shortcut for session ` -s ` . Your function above
217+ To run the above you'd execute the following command, specifying which session
218+ with ` --session ` (sometimes shortened to ` -s ` ) . Your function above
219219is called test, therefore the session name is test.
220220
221221```
222- nox -s test
222+ nox --session test
223223```
224224
225225### Nox with conda / mamba
226226
227227Below is an example for setting up nox to use mamba (or conda) for your
228228environment manager.
229229Note that unlike venv, conda can automatically install
230- the various versions of Python that you need. You won't need to install all three Python versions if you use conda/mamba, like you do with ` venv ` .
230+ the various versions of Python that you need. You won't need to install all four Python versions if you use conda/mamba, like you do with ` venv ` .
231231
232232``` {note}
233233For `conda` to work with `nox`, you will need to
@@ -257,5 +257,5 @@ def test_mamba(session):
257257To run the above session you'd use:
258258
259259``` bash
260- nox -s test_mamba
260+ nox --session test_mamba
261261```
You can’t perform that action at this time.
0 commit comments