8000 Alert user if choice is invalid by dHannasch · Pull Request #1496 · cookiecutter/cookiecutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Alert user if choice is invalid #1496

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

Merged
merged 7 commits into from
Apr 27, 2021

Conversation

dHannasch
Copy link
Contributor
@dHannasch dHannasch commented Feb 2, 2021

If an invalid value is provided for a choice variable (such as from a config file), this alerts the user instead of silently ignoring it.

@ssbarnea ssbarnea added the enhancement This issue/PR relates to a feature request. label Apr 27, 2021
@ssbarnea ssbarnea merged commit b0c5e3f into cookiecutter:master Apr 27, 2021
@simobasso simobasso mentioned this pull request May 15, 2021
cagonza6 pushed a commit to cagonza6/cookiecutter that referenced this pull request Jun 16, 2021
* If an invalid value is provided for a choice variable (such as from a config file), alert the user instead of silently ignoring it.

* black

* Issue a warning instead of a ValueError.

* assert generated_context == expected_context

* test_apply_overwrites_invalid_overwrite

* flake8

* Verify variables overwrite for list if variable not in list not ignored.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue/PR relates to a feature request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0