Skip to content

Commit ecc3507

Browse files
committed
switch to non venv as default
1 parent 7e05a20 commit ecc3507

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.vscode/tasks.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,19 @@
3434
"label": "preTestJediLSP"
3535
},
3636
{
37+
"type": "npm",
38+
"script": "check-python",
39+
"problemMatcher": ["$python"],
3740
"label": "npm: check-python",
41+
"detail": "npm run check-python:ruff && npm run check-python:pyright"
42+
},
43+
{
44+
"label": "npm: check-python (venv)",
3845
"type": "shell",
3946
"command": "bash",
4047
"args": ["-lc", "source .venv/bin/activate && npm run check-python"],
4148
"problemMatcher": [],
42-
"detail": "Runs in the repo .venv (avoids pyenv/shim Python): npm run check-python",
49+
"detail": "Activates the repo .venv first (avoids pyenv/shim Python) then runs: npm run check-python",
4350
"windows": {
4451
"command": "pwsh",
4552
"args": [
@@ -50,13 +57,6 @@
5057
".\\.venv\\Scripts\\Activate.ps1; npm run check-python"
5158
]
5259
}
53-
},
54-
{
55-
"type": "npm",
56-
"script": "check-python",
57-
"problemMatcher": ["$python"],
58-
"label": "npm: check-python (no venv)",
59-
"detail": "Runs without activating .venv (uses the task shell's default python): npm run check-python"
6060
}
6161
]
6262
}

0 commit comments

Comments
 (0)