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
214
214
with a ` @nox.session ` decorator. Notice that within the decorator you declare the versions of python that you
215
215
wish to run.
216
216
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
219
219
is called test, therefore the session name is test.
220
220
221
221
```
222
- nox -s test
222
+ nox --session test
223
223
```
224
224
225
225
### Nox with conda / mamba
226
226
227
227
Below is an example for setting up nox to use mamba (or conda) for your
228
228
environment manager.
229
229
Note 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 ` .
231
231
232
232
``` {note}
233
233
For `conda` to work with `nox`, you will need to
@@ -257,5 +257,5 @@ def test_mamba(session):
257
257
To run the above session you'd use:
258
258
259
259
``` bash
260
- nox -s test_mamba
260
+ nox --session test_mamba
261
261
```
You can’t perform that action at this time.
0 commit comments