File tree Expand file tree Collapse file tree 1 file changed +99
-0
lines changed
Expand file tree Collapse file tree 1 file changed +99
-0
lines changed Original file line number Diff line number Diff line change 66 "type" : " shell" ,
77 "command" : " scripts/develop" ,
88 "problemMatcher" : []
9+ },
10+ {
11+ "label" : " Lint (Full)" ,
12+ "type" : " shell" ,
13+ "command" : " ./scripts/lint" ,
14+ "problemMatcher" : [],
15+ "group" : {
16+ "kind" : " build" ,
17+ "isDefault" : false
18+ },
19+ "presentation" : {
20+ "reveal" : " always" ,
21+ "panel" : " dedicated"
22+ }
23+ },
24+ {
25+ "label" : " Ruff: Check" ,
26+ "type" : " shell" ,
27+ "command" : " uv run ruff check ." ,
28+ "problemMatcher" : {
29+ "owner" : " ruff" ,
30+ "fileLocation" : [" relative" , " ${workspaceFolder}" ],
31+ "pattern" : {
32+ "regexp" : " ^(.+):(\\ d+):(\\ d+):\\ s+(\\ w+):\\ s+(.+)\\ s+\\ ((.+)\\ )$" ,
33+ "file" : 1 ,
34+ "line" : 2 ,
35+ "column" : 3 ,
36+ "severity" : 4 ,
37+ "message" : 5 ,
38+ "code" : 6
39+ }
40+ },
41+ "group" : {
42+ "kind" : " build" ,
43+ "isDefault" : false
44+ },
45+ "presentation" : {
46+ "reveal" : " always" ,
47+ "panel" : " shared"
48+ }
49+ },
50+ {
51+ "label" : " Ruff: Check & Fix" ,
52+ "type" : " shell" ,
53+ "command" : " uv run ruff check . --fix" ,
54+ "problemMatcher" : {
55+ "owner" : " ruff" ,
56+ "fileLocation" : [" relative" , " ${workspaceFolder}" ],
57+ "pattern" : {
58+ "regexp" : " ^(.+):(\\ d+):(\\ d+):\\ s+(\\ w+):\\ s+(.+)\\ s+\\ ((.+)\\ )$" ,
59+ "file" : 1 ,
60+ "line" : 2 ,
61+ "column" : 3 ,
62+ "severity" : 4 ,
63+ "message" : 5 ,
64+ "code" : 6
65+ }
66+ },
67+ "group" : {
68+ "kind" : " build" ,
69+ "isDefault" : true
70+ },
71+ "presentation" : {
72+ "reveal" : " always" ,
73+ "panel" : " shared"
74+ }
75+ },
76+ {
77+ "label" : " Ruff: Format" ,
78+ "type" : " shell" ,
79+ "command" : " uv run ruff format ." ,
80+ "problemMatcher" : [],
81+ "group" : " build" ,
82+ "presentation" : {
83+ "reveal" : " always" ,
84+ "panel" : " shared"
85+ }
86+ },
87+ {
88+ "label" : " MyPy: Type Check" ,
89+ "type" : " shell" ,
90+ "command" : " uv run mypy custom_components/battery_notes/ --check-untyped-defs" ,
91+ "problemMatcher" : {
92+ "owner" : " mypy" ,
93+ "fileLocation" : [" relative" , " ${workspaceFolder}" ],
94+ "pattern" : {
95+ "regexp" : " ^(.+?):(\\ d+):\\ s*(?:(\\ d+):)?\\ s*(error|warning|note):\\ s*(.+)$" ,
96+ "file" : 1 ,
97+ "line" : 2 ,
98+ "column" : 3 ,
99+ "severity" : 4 ,
100+ "message" : 5
101+ }
102+ },
103+ "group" : " build" ,
104+ "presentation" : {
105+ "reveal" : " always" ,
106+ "panel" : " shared"
107+ }
9108 }
10109 ],
11110 "configurations" : [
You can’t perform that action at this time.
0 commit comments