Skip to content

Commit

Permalink
docs: call out that --reuse-existing-virtualenvs/--no-reuse-existing-…
Browse files Browse the repository at this point in the history
…virtualenvs is alias to --reuse-venv=yes|no in usage.rst
  • Loading branch information
samypr100 committed Feb 25, 2024
1 parent 61dd272 commit fdf876c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ advantageous to reuse the virtualenvs between runs. Use ``-r`` or
If the Noxfile sets ``nox.options.reuse_existing_virtualenvs``, you can override the Noxfile setting from the command line by using ``--no-reuse-existing-virtualenvs``.
Similarly you can override ``nox.options.reuse_venvs`` from the Noxfile via the command line by using ``--reuse-venv=yes|no|always|never``.

.. note::

``--reuse-existing-virtualenvs`` is a alias for ``--reuse-venv=yes`` and ``--no-reuse-existing-virtualenvs`` is an alias for ``--reuse-venv=no``.

Additionally, you can skip the re-installation of packages when a virtualenv is reused.
Use ``-R`` or ``--reuse-existing-virtualenvs --no-install`` or ``--reuse-venv=yes --no-install``:

Expand Down

0 comments on commit fdf876c

Please sign in to comment.