Skip to content

Commit e141554

Browse files
committed
Introduce task to run Ruff formatter
1 parent 87025a0 commit e141554

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.vscode/tasks.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,30 @@
44
"version": "2.0.0",
55
"tasks": [
66
{
7-
"label": "Run Ruff",
7+
"label": "Run Ruff Formatter",
8+
"command": "ruff",
9+
"args": [
10+
"format"
11+
],
12+
"options": {
13+
"cwd": "${workspaceFolder}"
14+
},
15+
"group": {
16+
"kind": "build",
17+
"isDefault": false
18+
},
19+
"presentation": {
20+
"clear": true,
21+
"echo": true,
22+
"focus": false,
23+
"panel": "dedicated",
24+
"reveal": "always",
25+
"showReuseMessage": true
26+
},
27+
"type": "shell"
28+
},
29+
{
30+
"label": "Run Ruff Linter",
831
"command": "ruff",
932
"args": [
1033
"check",

0 commit comments

Comments
 (0)