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

Add check for pyenv_custom_pyenvrc_file #264

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mrmeszaros
Copy link

@mrmeszaros mrmeszaros commented Feb 23, 2024

This is a very small change: it checks for pyenv_custom_pyenvrc_file into the main pyenvrc template.

Does not change functionality, as the sourcing of the custom pyenvrc file is behind a check.

However, it can lead someone astray when reading or debugging a pyenv system.

Additionally if someone would remove the pyenv_custom_pyenvrc_file from the role vars, the configuration would still apply (since the main config always checks for the file's existance).

Added checks to only add custom pyenvrc sourcing if it was defined.
Similarly to how `Install custom .pyenvrc` checks for it.
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.

1 participant