File tree Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Original file line number Diff line number Diff line change 5
5
"tasks" : [
6
6
{
7
7
"label" : " 🧽 Run Ruff Formatter" ,
8
- "command" : " ruff " ,
8
+ "command" : " ${command:python.interpreterPath} " ,
9
9
"args" : [
10
+ " -m" ,
11
+ " ruff" ,
10
12
" format"
11
13
],
12
14
"options" : {
28
30
},
29
31
{
30
32
"label" : " 🔦 Run Ruff Linter" ,
31
- "command" : " ruff " ,
33
+ "command" : " ${command:python.interpreterPath} " ,
32
34
"args" : [
35
+ " -m" ,
36
+ " ruff" ,
33
37
" check" ,
38
+ " --fix" ,
34
39
],
35
40
"options" : {
36
41
"cwd" : " ${workspaceFolder}"
51
56
},
52
57
{
53
58
"label" : " 🔦 Run Pylint" ,
54
- "command" : " pylint " ,
59
+ "command" : " ${command:python.interpreterPath} " ,
55
60
"args" : [
61
+ " -m" ,
62
+ " pylint" ,
56
63
" plotpy" ,
57
- " --disable=C " ,
64
+ " --disable=duplicate-code " ,
58
65
" --disable=fixme" ,
59
- " --disable=R" ,
60
- " --disable=W" ,
61
- " --ignore=external"
66
+ " --disable=too-many-arguments" ,
67
+ " --disable=too-many-branches" ,
68
+ " --disable=too-many-instance-attributes" ,
69
+ " --disable=too-many-lines" ,
70
+ " --disable=too-many-locals" ,
71
+ " --disable=too-many-public-methods" ,
72
+ " --disable=too-many-statements"
62
73
],
63
74
"options" : {
64
75
"cwd" : " ${workspaceFolder}"
You can’t perform that action at this time.
0 commit comments