From 1b1647b9cc62e0f188836e8fc621828c848f8f37 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Fri, 27 Dec 2024 10:36:08 +0000 Subject: [PATCH 1/2] Fix incorrect examples in docs python_create_args and uv_create_args options only allow list of strings and not simple strings. Current examples were causing a config loading error like: invalid type: string "--without-pip", expected a sequence --- docs/lang/python.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/lang/python.md b/docs/lang/python.md index 73613ea77d..e701751453 100644 --- a/docs/lang/python.md +++ b/docs/lang/python.md @@ -137,8 +137,8 @@ _.python.venv = "/root/.venv" # can be absolute _.python.venv = "{{env.HOME}}/.cache/venv/myproj" # can use templates _.python.venv = { path = ".venv", create = true } # create the venv if it doesn't exist _.python.venv = { path = ".venv", create = true, python = "3.10" } # use a specific python version -_.python.venv = { path = ".venv", create = true, python_create_args = "--without-pip" } # pass args to python -m venv -_.python.venv = { path = ".venv", create = true, uv_create_args = "--system-site-packages" } # pass args to uv venv +_.python.venv = { path = ".venv", create = true, python_create_args = ["--without-pip"] } # pass args to python -m venv +_.python.venv = { path = ".venv", create = true, uv_create_args = ["--system-site-packages"] } # pass args to uv venv ``` The venv will need to be created manually with `python -m venv /path/to/venv` unless `create=true`. From 43c63dd9ff2c04e72f27a4e527462186382546d3 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 27 Dec 2024 10:41:36 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- mise.lock | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mise.lock b/mise.lock index 1dca3abf29..420b200a49 100644 --- a/mise.lock +++ b/mise.lock @@ -73,6 +73,9 @@ jq-macos-arm64 = "sha256:0bbe619e663e0de2c550be2fe0d240d076799d6f8a652b70fa04aea version = "0.11" backend = "aqua:jedisct1/minisign" +[tools.minisign.checksums] +"minisign-0.11-linux.tar.gz" = "sha256:f0a0954413df8531befed169e447a66da6868d79052ed7e892e50a4291af7ae0" + [tools."npm:markdownlint-cli"] version = "0.43.0" backend = "npm:markdownlint-cli"