|
7 | 7 | "label": "🧽 Ruff Formatter",
|
8 | 8 | "command": "${command:python.interpreterPath}",
|
9 | 9 | "args": [
|
| 10 | + "scripts/run_with_env.py", |
| 11 | + "${command:python.interpreterPath}", |
10 | 12 | "-m",
|
11 | 13 | "ruff",
|
12 | 14 | "format"
|
|
32 | 34 | "label": "🔦 Ruff Linter",
|
33 | 35 | "command": "${command:python.interpreterPath}",
|
34 | 36 | "args": [
|
| 37 | + "scripts/run_with_env.py", |
| 38 | + "${command:python.interpreterPath}", |
35 | 39 | "-m",
|
36 | 40 | "ruff",
|
37 | 41 | "check",
|
|
58 | 62 | "label": "🔦 Pylint",
|
59 | 63 | "command": "${command:python.interpreterPath}",
|
60 | 64 | "args": [
|
| 65 | + "scripts/run_with_env.py", |
| 66 | + "${command:python.interpreterPath}", |
61 | 67 | "-m",
|
62 | 68 | "pylint",
|
63 | 69 | "plotpy",
|
|
92 | 98 | "label": "🔎 Scan translations",
|
93 | 99 | "command": "${command:python.interpreterPath}",
|
94 | 100 | "args": [
|
| 101 | + "scripts/run_with_env.py", |
| 102 | + "${command:python.interpreterPath}", |
95 | 103 | "-m",
|
96 | 104 | "guidata.utils.translations",
|
97 | 105 | "scan",
|
|
123 | 131 | "label": "📚 Compile translations",
|
124 | 132 | "command": "${command:python.interpreterPath}",
|
125 | 133 | "args": [
|
| 134 | + "scripts/run_with_env.py", |
| 135 | + "${command:python.interpreterPath}", |
126 | 136 | "-m",
|
127 | 137 | "guidata.utils.translations",
|
128 | 138 | "compile",
|
|
152 | 162 | "label": "🚀 Pytest",
|
153 | 163 | "command": "${command:python.interpreterPath}",
|
154 | 164 | "args": [
|
| 165 | + "scripts/run_with_env.py", |
| 166 | + "${command:python.interpreterPath}", |
155 | 167 | "-m",
|
156 | 168 | "pytest",
|
157 | 169 | "--ff",
|
|
180 | 192 | "label": "Generate requirements",
|
181 | 193 | "command": "${command:python.interpreterPath}",
|
182 | 194 | "args": [
|
| 195 | + "scripts/run_with_env.py", |
| 196 | + "${command:python.interpreterPath}", |
183 | 197 | "-m",
|
184 | 198 | "guidata.utils.genreqs",
|
185 | 199 | "all",
|
|
260 | 274 | "type": "shell",
|
261 | 275 | "command": "${command:python.interpreterPath}",
|
262 | 276 | "args": [
|
| 277 | + "scripts/run_with_env.py", |
| 278 | + "${command:python.interpreterPath}", |
263 | 279 | "-m",
|
264 | 280 | "pip",
|
265 | 281 | "install",
|
|
295 | 311 | "label": "📚 Build documentation",
|
296 | 312 | "command": "${command:python.interpreterPath}",
|
297 | 313 | "args": [
|
| 314 | + "scripts/run_with_env.py", |
| 315 | + "${command:python.interpreterPath}", |
298 | 316 | "-m",
|
299 | 317 | "sphinx",
|
300 | 318 | "build",
|
|
347 | 365 | "type": "shell",
|
348 | 366 | "command": "${command:python.interpreterPath}",
|
349 | 367 | "args": [
|
| 368 | + "scripts/run_with_env.py", |
| 369 | + "${command:python.interpreterPath}", |
350 | 370 | "-m",
|
351 | 371 | "guidata.utils.securebuild",
|
352 | 372 | ],
|
|
441 | 461 | "type": "shell",
|
442 | 462 | "command": "${command:python.interpreterPath}",
|
443 | 463 | "args": [
|
| 464 | + "scripts/run_with_env.py", |
| 465 | + "${command:python.interpreterPath}", |
444 | 466 | "-m",
|
445 | 467 | "coverage",
|
446 | 468 | "run",
|
|
0 commit comments