Skip to content

Commit 2c22d4e

Browse files
committed
Move "up" Pytest task
1 parent c64adde commit 2c22d4e

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.vscode/tasks.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -122,51 +122,50 @@
122122
"type": "shell",
123123
},
124124
{
125-
"label": "🔎 Scan translations",
125+
"label": "🚀 Pytest",
126126
"command": "${command:python.interpreterPath}",
127127
"args": [
128128
"scripts/run_with_env.py",
129129
"${command:python.interpreterPath}",
130130
"-m",
131-
"guidata.utils.translations",
132-
"scan",
133-
"--name",
134-
"plotpy",
135-
"--directory",
136-
".",
137-
"--copyright-holder",
138-
"CEA, Codra, Pierre Raybaut",
131+
"pytest",
132+
"--ff",
139133
],
140-
"group": {
141-
"kind": "build",
142-
"isDefault": false,
143-
},
144134
"options": {
145135
"cwd": "${workspaceFolder}",
136+
"env": {
137+
"UNATTENDED": "1",
138+
},
139+
},
140+
"group": {
141+
"kind": "build",
142+
"isDefault": true,
146143
},
147144
"presentation": {
148-
"clear": true,
149145
"echo": true,
146+
"reveal": "always",
150147
"focus": false,
151148
"panel": "dedicated",
152-
"reveal": "always",
153149
"showReuseMessage": true,
150+
"clear": true,
154151
},
155152
"type": "shell",
156153
},
157154
{
158-
"label": "📚 Compile translations",
155+
"label": "🔎 Scan translations",
159156
"command": "${command:python.interpreterPath}",
160157
"args": [
161158
"scripts/run_with_env.py",
162159
"${command:python.interpreterPath}",
163160
"-m",
164161
"guidata.utils.translations",
165-
"compile",
162+
"scan",
166163
"--name",
167164
"plotpy",
168165
"--directory",
169166
".",
167+
"--copyright-holder",
168+
"CEA, Codra, Pierre Raybaut",
170169
],
171170
"group": {
172171
"kind": "build",
@@ -186,32 +185,33 @@
186185
"type": "shell",
187186
},
188187
{
189-
"label": "🚀 Pytest",
188+
"label": "📚 Compile translations",
190189
"command": "${command:python.interpreterPath}",
191190
"args": [
192191
"scripts/run_with_env.py",
193192
"${command:python.interpreterPath}",
194193
"-m",
195-
"pytest",
196-
"--ff",
194+
"guidata.utils.translations",
195+
"compile",
196+
"--name",
197+
"plotpy",
198+
"--directory",
199+
".",
197200
],
198-
"options": {
199-
"cwd": "${workspaceFolder}",
200-
"env": {
201-
"UNATTENDED": "1",
202-
},
203-
},
204201
"group": {
205202
"kind": "build",
206-
"isDefault": true,
203+
"isDefault": false,
204+
},
205+
"options": {
206+
"cwd": "${workspaceFolder}",
207207
},
208208
"presentation": {
209+
"clear": true,
209210
"echo": true,
210-
"reveal": "always",
211211
"focus": false,
212212
"panel": "dedicated",
213+
"reveal": "always",
213214
"showReuseMessage": true,
214-
"clear": true,
215215
},
216216
"type": "shell",
217217
},

0 commit comments

Comments
 (0)