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

Apply variable expansion to default values #204

Merged
merged 2 commits into from
Feb 7, 2021

Conversation

rjcohn
Copy link
Contributor

@rjcohn rjcohn commented Feb 4, 2021

If a default includes a reference to a variable, expand that reference.
See test_environs.test_default_expands.
Note: type for subs_default is required because of a bug in mypy:
python/mypy#5423

Richard Cohn and others added 2 commits February 4, 2021 11:42
If a default includes a reference to a variable, expand that reference.
See test_environs.test_default_expands.
Note: type for subs_default is required because of a bug in mypy:
  python/mypy#5423
@sloria sloria merged commit dad57b7 into sloria:master Feb 7, 2021
@sloria
Copy link
Owner

sloria commented Feb 7, 2021

Thanks! This is released in 9.3.1.

@rjcohn
Copy link
Contributor Author

rjcohn commented Feb 7, 2021

Thank you!

@rjcohn rjcohn deleted the feature/default-var-expansion branch February 7, 2021 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants