se-jaeger / zsh-activate-py-environment

ZSH plugin that automagically detects and activates your python environments (poetry, virtualenv, conda) while traversing directories.
Apache License 2.0
26 stars 5 forks source link

Add `"pyproject.toml"` to `POETRY_FILES` #7

Closed tapyu closed 8 months ago

tapyu commented 8 months ago

When entering in a directory without poetry.lock but with pyproject.toml, zsh-activate-py-environment didn't create a new Poetry Python environment as pyproject.toml was not listed as a Poetry environment file. This PR suggest adding it so that zsh-activate-py-environment can automagically instantiate a new Poetry environment :)

se-jaeger commented 8 months ago

Yes, that makes sense. Before this feature was introduces, it was not necessary.

Thanks again for your contribution! Merging..