Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 902c086

Browse files
committed
clear uv venv
1 parent 33e719e commit 902c086

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mypy_primer/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ def activate_cmd(self) -> str:
158158

159159
async def make_venv(self) -> None:
160160
if has_uv():
161-
await run(["uv", "venv", str(self.dir), "--python", sys.executable, "--seed"])
161+
await run(
162+
["uv", "venv", str(self.dir), "--python", sys.executable, "--seed", "--clear"]
163+
)
162164
else:
163165
venv.create(self.dir, with_pip=True, clear=True)
164166

0 commit comments

Comments
 (0)