Closed hillary-mutisya closed 6 months ago
I spoke to @luabud who confirmed that this is going to end up being unreliable across machines. She suggested instead including the settings within the devcontainer.json
itself:
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
],
"settings": {
"python.defaultInterpreterPath": "/workspaces/TypeChat/python/.hatch/typechat/bin/python3.12"
}
}
}
What do you think?
That works! I updated the PR
This change configures hatch to set up the python virtual environment in the project folder when using the dev container. We also set the python interpretter path to the hatch virtual environment.