Skip to content

Commit

Permalink
Automatically activate venv for uv projects
Browse files Browse the repository at this point in the history
  • Loading branch information
gzurowski committed Jan 5, 2025
1 parent a1178d5 commit 54bc500
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mise/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,8 @@ experimental = true # enable experimental features

# configure messages displayed when entering directories with config files
status = { missing_tools = "if_other_versions_installed", show_env = false, show_tools = false }

# Automatically create/source venvs if `uv.lock` is present.
# See: https://mise.jdx.dev/lang/python.html#python.uv_venv_auto
# See: https://github.com/jdx/mise/issues/3211
python.uv_venv_auto = true

0 comments on commit 54bc500

Please sign in to comment.