lmstudio-ai / venvstacks

Virtual environment stacks for Python
http://venvstacks.lmstudio.ai/
MIT License
174 stars 6 forks source link

Include default command settings in stack config file #29

Open ncoghlan opened 1 month ago

ncoghlan commented 1 month ago

There are several locking, build, and publishing settings which could reasonably be considered part of the stack specification:

While settings these globally or per-user doesn't necessarily make sense (although #20 would allow that to some degree), it does make sense to allow the stack specification file to include a [config] section which changes the default values used for various settings.

https://maxb2.github.io/typer-config/latest/ may be a useful dependency to consider for this purpose (as this idea would be similar to the "pyproject.toml section" approach described in https://maxb2.github.io/typer-config/latest/examples/pyproject/ )

ncoghlan commented 1 week ago

Another good candidate for inclusion as a stack config setting: