Skip to content

Commit

Permalink
fix: include mention of mamba in more places (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Dec 28, 2021
1 parent e42f542 commit 8b12711
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions nox/_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ def _session_completer(
noxfile=True,
merge_func=_default_venv_backend_merge_func,
help="Virtual environment backend to use by default for nox sessions, this is ``'virtualenv'`` by default but "
"any of ``('virtualenv', 'conda', 'venv')`` are accepted.",
choices=["none", "virtualenv", "conda", "venv"],
"any of ``('virtualenv', 'conda', 'mamba', 'venv')`` are accepted.",
choices=["none", "virtualenv", "conda", "mamba", "venv"],
),
_option_set.Option(
"force_venv_backend",
Expand All @@ -327,9 +327,9 @@ def _session_completer(
noxfile=True,
merge_func=_force_venv_backend_merge_func,
help="Virtual environment backend to force-use for all nox sessions in this run, overriding any other venv "
"backend declared in the nox file and ignoring the default backend. Any of ``('virtualenv', 'conda', 'venv')`` "
"backend declared in the nox file and ignoring the default backend. Any of ``('virtualenv', 'conda', 'mamba', 'venv')`` "
"are accepted.",
choices=["none", "virtualenv", "conda", "venv"],
choices=["none", "virtualenv", "conda", "mamba", "venv"],
),
_option_set.Option(
"no_venv",
Expand Down
2 changes: 1 addition & 1 deletion nox/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ def _create_venv(self) -> None:
)
else:
raise ValueError(
f"Expected venv_backend one of ('virtualenv', 'conda', 'venv'), but got '{backend}'."
f"Expected venv_backend one of ('virtualenv', 'conda', 'mamba', 'venv'), but got '{backend}'."
)

self.venv.create()
Expand Down

0 comments on commit 8b12711

Please sign in to comment.