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: missing f-string in --help message #790

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

cjolowicz
Copy link
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
22 checks passed
@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