Skip to content

Commit 0ce8693

Browse files
committed
Replace Ruff batch script with direct command
1 parent 0df08ab commit 0ce8693

File tree

2 files changed

+8
-29
lines changed

2 files changed

+8
-29
lines changed

.vscode/tasks.json

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -151,31 +151,26 @@
151151
},
152152
{
153153
"label": "Run Ruff",
154-
"type": "shell",
155-
"command": "cmd",
154+
"command": "ruff",
156155
"args": [
157-
"/c",
158-
"run_ruff.bat",
156+
"check",
159157
],
160158
"options": {
161-
"cwd": "scripts",
162-
"env": {
163-
"PYTHON": "${command:python.interpreterPath}",
164-
"UNATTENDED": "1"
165-
}
159+
"cwd": "${workspaceFolder}"
166160
},
167161
"group": {
168162
"kind": "build",
169-
"isDefault": true
163+
"isDefault": false
170164
},
171165
"presentation": {
166+
"clear": true,
172167
"echo": true,
173-
"reveal": "always",
174168
"focus": false,
175169
"panel": "dedicated",
170+
"reveal": "always",
176171
"showReuseMessage": true,
177-
"clear": true
178-
}
172+
},
173+
"type": "shell"
179174
},
180175
{
181176
"label": "Clean Up",

scripts/run_ruff.bat

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)