Skip to content

Commit edc0b6e

Browse files
committed
Replace Pylint batch script with direct command
1 parent 3415772 commit edc0b6e

File tree

2 files changed

+14
-34
lines changed

2 files changed

+14
-34
lines changed

.vscode/tasks.json

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -120,34 +120,31 @@
120120
},
121121
{
122122
"label": "Run Pylint",
123-
"type": "shell",
124-
"command": "cmd",
123+
"command": "pylint",
125124
"args": [
126-
"/c",
127-
"run_pylint.bat",
128-
// "--disable=R0801,C0103,C0114,C0115,C0116,W0612,W0613",
129-
"--disable=fixme,C,R,W",
130-
"--ignore=external",
125+
"plotpy",
126+
"--disable=C",
127+
"--disable=fixme",
128+
"--disable=R",
129+
"--disable=W",
130+
"--ignore=external"
131131
],
132132
"options": {
133-
"cwd": "scripts",
134-
"env": {
135-
"UNATTENDED": "1",
136-
"PYTHON": "${command:python.interpreterPath}",
137-
}
133+
"cwd": "${workspaceFolder}"
138134
},
139135
"group": {
140136
"kind": "build",
141-
"isDefault": true
137+
"isDefault": false
142138
},
143139
"presentation": {
140+
"clear": true,
144141
"echo": true,
145-
"reveal": "always",
146142
"focus": false,
147143
"panel": "dedicated",
148-
"showReuseMessage": true,
149-
"clear": true
150-
}
144+
"reveal": "always",
145+
"showReuseMessage": true
146+
},
147+
"type": "shell"
151148
},
152149
{
153150
"label": "Run Ruff",

scripts/run_pylint.bat

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

0 commit comments

Comments
 (0)