Skip to content

fix: missing f-string in --help message#790

Merged
cjolowicz merged 1 commit intowntrblm:mainfrom
cjolowicz:fix-help
Mar 4, 2024
Merged

fix: missing f-string in --help message#790
cjolowicz merged 1 commit intowntrblm:mainfrom
cjolowicz:fix-help

Conversation

@cjolowicz
Copy link
Copy Markdown
Collaborator

Quick fix for the missing f-string in the --help message for -db and -fb:

  -db {conda,mamba,virtualenv,venv,uv,none}, --default-venv-backend {conda,mamba,virtualenv,venv,uv,none}
                        Virtual environment backend to use by default for Nox sessions, this is ``'virtualenv'`` by default but any of ``{list(ALL_VENVS)!r}`` are accepted.
  -fb {conda,mamba,virtualenv,venv,uv,none}, --force-venv-backend {conda,mamba,virtualenv,venv,uv,none}
                        Virtual environment backend to force-use for all Nox sessions in this run, overriding any other venv backend declared in the Noxfile and ignoring the default backend. Any of ``{list(ALL_VENVS)!r}`` are accepted.

In the long run, it would be nice to clean the --help message up some more. Like those quotes with double backtick and single quote, and the repetition of valid choices.

@cjolowicz cjolowicz merged commit 545a621 into wntrblm:main Mar 4, 2024
@cjolowicz cjolowicz deleted the fix-help branch March 4, 2024 18:58
@henryiii henryiii mentioned this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants