File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 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" : [
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}
You can’t perform that action at this time.
0 commit comments