Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: include mention of mamba in more places #551

Merged
merged 2 commits into from Dec 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions nox/_options.py
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
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