|
122 | 122 | "type": "shell", |
123 | 123 | }, |
124 | 124 | { |
125 | | - "label": "🔎 Scan translations", |
| 125 | + "label": "🚀 Pytest", |
126 | 126 | "command": "${command:python.interpreterPath}", |
127 | 127 | "args": [ |
128 | 128 | "scripts/run_with_env.py", |
129 | 129 | "${command:python.interpreterPath}", |
130 | 130 | "-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", |
139 | 133 | ], |
140 | | - "group": { |
141 | | - "kind": "build", |
142 | | - "isDefault": false, |
143 | | - }, |
144 | 134 | "options": { |
145 | 135 | "cwd": "${workspaceFolder}", |
| 136 | + "env": { |
| 137 | + "UNATTENDED": "1", |
| 138 | + }, |
| 139 | + }, |
| 140 | + "group": { |
| 141 | + "kind": "build", |
| 142 | + "isDefault": true, |
146 | 143 | }, |
147 | 144 | "presentation": { |
148 | | - "clear": true, |
149 | 145 | "echo": true, |
| 146 | + "reveal": "always", |
150 | 147 | "focus": false, |
151 | 148 | "panel": "dedicated", |
152 | | - "reveal": "always", |
153 | 149 | "showReuseMessage": true, |
| 150 | + "clear": true, |
154 | 151 | }, |
155 | 152 | "type": "shell", |
156 | 153 | }, |
157 | 154 | { |
158 | | - "label": "📚 Compile translations", |
| 155 | + "label": "🔎 Scan translations", |
159 | 156 | "command": "${command:python.interpreterPath}", |
160 | 157 | "args": [ |
161 | 158 | "scripts/run_with_env.py", |
162 | 159 | "${command:python.interpreterPath}", |
163 | 160 | "-m", |
164 | 161 | "guidata.utils.translations", |
165 | | - "compile", |
| 162 | + "scan", |
166 | 163 | "--name", |
167 | 164 | "plotpy", |
168 | 165 | "--directory", |
169 | 166 | ".", |
| 167 | + "--copyright-holder", |
| 168 | + "CEA, Codra, Pierre Raybaut", |
170 | 169 | ], |
171 | 170 | "group": { |
172 | 171 | "kind": "build", |
|
186 | 185 | "type": "shell", |
187 | 186 | }, |
188 | 187 | { |
189 | | - "label": "🚀 Pytest", |
| 188 | + "label": "📚 Compile translations", |
190 | 189 | "command": "${command:python.interpreterPath}", |
191 | 190 | "args": [ |
192 | 191 | "scripts/run_with_env.py", |
193 | 192 | "${command:python.interpreterPath}", |
194 | 193 | "-m", |
195 | | - "pytest", |
196 | | - "--ff", |
| 194 | + "guidata.utils.translations", |
| 195 | + "compile", |
| 196 | + "--name", |
| 197 | + "plotpy", |
| 198 | + "--directory", |
| 199 | + ".", |
197 | 200 | ], |
198 | | - "options": { |
199 | | - "cwd": "${workspaceFolder}", |
200 | | - "env": { |
201 | | - "UNATTENDED": "1", |
202 | | - }, |
203 | | - }, |
204 | 201 | "group": { |
205 | 202 | "kind": "build", |
206 | | - "isDefault": true, |
| 203 | + "isDefault": false, |
| 204 | + }, |
| 205 | + "options": { |
| 206 | + "cwd": "${workspaceFolder}", |
207 | 207 | }, |
208 | 208 | "presentation": { |
| 209 | + "clear": true, |
209 | 210 | "echo": true, |
210 | | - "reveal": "always", |
211 | 211 | "focus": false, |
212 | 212 | "panel": "dedicated", |
| 213 | + "reveal": "always", |
213 | 214 | "showReuseMessage": true, |
214 | | - "clear": true, |
215 | 215 | }, |
216 | 216 | "type": "shell", |
217 | 217 | }, |
|
0 commit comments