Skip to content

Commit 87025a0

Browse files
committed
Reorder tasks to reflect workflow
1 parent edc0b6e commit 87025a0

File tree

1 file changed

+66
-66
lines changed

1 file changed

+66
-66
lines changed

.vscode/tasks.json

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,70 @@
44
"version": "2.0.0",
55
"tasks": [
66
{
7-
"label": "gettext - Scan",
8-
"type": "shell",
9-
"command": "cmd",
7+
"label": "Run Ruff",
8+
"command": "ruff",
109
"args": [
11-
"/c",
12-
"gettext.bat",
13-
"rescan",
10+
"check",
1411
],
1512
"options": {
16-
"cwd": "scripts",
17-
"env": {
18-
"UNATTENDED": "1",
19-
"PYTHONUTF8": "1",
20-
"PYTHON": "${command:python.interpreterPath}",
21-
}
13+
"cwd": "${workspaceFolder}"
2214
},
2315
"group": {
2416
"kind": "build",
25-
"isDefault": true
17+
"isDefault": false
2618
},
2719
"presentation": {
20+
"clear": true,
2821
"echo": true,
29-
"reveal": "always",
3022
"focus": false,
31-
"panel": "shared",
23+
"panel": "dedicated",
24+
"reveal": "always",
3225
"showReuseMessage": true,
33-
"clear": false
34-
}
26+
},
27+
"type": "shell"
3528
},
3629
{
37-
"label": "gettext - Compile",
30+
"label": "Run Pylint",
31+
"command": "pylint",
32+
"args": [
33+
"plotpy",
34+
"--disable=C",
35+
"--disable=fixme",
36+
"--disable=R",
37+
"--disable=W",
38+
"--ignore=external"
39+
],
40+
"options": {
41+
"cwd": "${workspaceFolder}"
42+
},
43+
"group": {
44+
"kind": "build",
45+
"isDefault": false
46+
},
47+
"presentation": {
48+
"clear": true,
49+
"echo": true,
50+
"focus": false,
51+
"panel": "dedicated",
52+
"reveal": "always",
53+
"showReuseMessage": true
54+
},
55+
"type": "shell"
56+
},
57+
{
58+
"label": "gettext - Scan",
3859
"type": "shell",
3960
"command": "cmd",
4061
"args": [
4162
"/c",
4263
"gettext.bat",
43-
"compile",
64+
"rescan",
4465
],
4566
"options": {
4667
"cwd": "scripts",
4768
"env": {
4869
"UNATTENDED": "1",
70+
"PYTHONUTF8": "1",
4971
"PYTHON": "${command:python.interpreterPath}",
5072
}
5173
},
@@ -63,12 +85,13 @@
6385
}
6486
},
6587
{
66-
"label": "Run Coverage",
88+
"label": "gettext - Compile",
6789
"type": "shell",
6890
"command": "cmd",
6991
"args": [
7092
"/c",
71-
"run_coverage.bat",
93+
"gettext.bat",
94+
"compile",
7295
],
7396
"options": {
7497
"cwd": "scripts",
@@ -85,9 +108,9 @@
85108
"echo": true,
86109
"reveal": "always",
87110
"focus": false,
88-
"panel": "dedicated",
111+
"panel": "shared",
89112
"showReuseMessage": true,
90-
"clear": true
113+
"clear": false
91114
}
92115
},
93116
{
@@ -119,38 +142,13 @@
119142
}
120143
},
121144
{
122-
"label": "Run Pylint",
123-
"command": "pylint",
124-
"args": [
125-
"plotpy",
126-
"--disable=C",
127-
"--disable=fixme",
128-
"--disable=R",
129-
"--disable=W",
130-
"--ignore=external"
131-
],
132-
"options": {
133-
"cwd": "${workspaceFolder}"
134-
},
135-
"group": {
136-
"kind": "build",
137-
"isDefault": false
138-
},
139-
"presentation": {
140-
"clear": true,
141-
"echo": true,
142-
"focus": false,
143-
"panel": "dedicated",
144-
"reveal": "always",
145-
"showReuseMessage": true
146-
},
147-
"type": "shell"
148-
},
149-
{
150-
"label": "Run Ruff",
151-
"command": "ruff",
145+
"label": "Update requirements.txt",
146+
"command": "toml-to-req",
152147
"args": [
153-
"check",
148+
"--toml-file",
149+
"pyproject.toml",
150+
"--optional-lists",
151+
"dev,doc,test",
154152
],
155153
"options": {
156154
"cwd": "${workspaceFolder}"
@@ -170,30 +168,32 @@
170168
"type": "shell"
171169
},
172170
{
173-
"label": "Update requirements.txt",
174-
"command": "toml-to-req",
171+
"label": "Run Coverage",
172+
"type": "shell",
173+
"command": "cmd",
175174
"args": [
176-
"--toml-file",
177-
"pyproject.toml",
178-
"--optional-lists",
179-
"dev,doc,test",
175+
"/c",
176+
"run_coverage.bat",
180177
],
181178
"options": {
182-
"cwd": "${workspaceFolder}"
179+
"cwd": "scripts",
180+
"env": {
181+
"UNATTENDED": "1",
182+
"PYTHON": "${command:python.interpreterPath}",
183+
}
183184
},
184185
"group": {
185186
"kind": "build",
186-
"isDefault": false
187+
"isDefault": true
187188
},
188189
"presentation": {
189-
"clear": true,
190190
"echo": true,
191+
"reveal": "always",
191192
"focus": false,
192193
"panel": "dedicated",
193-
"reveal": "always",
194194
"showReuseMessage": true,
195-
},
196-
"type": "shell"
195+
"clear": true
196+
}
197197
},
198198
{
199199
"label": "Clean Up",

0 commit comments

Comments
 (0)