File tree Expand file tree Collapse file tree 1 file changed +22
-83
lines changed
plugins/tools/pylint/test Expand file tree Collapse file tree 1 file changed +22
-83
lines changed Original file line number Diff line number Diff line change 11{
2-
32 "$schema" : " https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json" ,
4- "version" : " 2.1.0" ,
53 "runs" : [
64 {
7- "tool" : {
8- "driver" : {
9- "name" : " Pylint" ,
10- "version" : " 3.3.6" ,
11- "informationUri" : " https://pylint.org" ,
12- "rules" : null
13- }
14- },
155 "results" : [
166 {
17- "ruleId" : " missing-final-newline" ,
18- "level" : " note" ,
19- "message" : {
20- "text" : " Final newline missing"
21- },
22- "locations" : [
23- {
24- "physicalLocation" : {
25- "artifactLocation" : {
26- "uri" : " test_file.py"
27- },
28- "region" : {
29- "startLine" : 33 ,
30- "startColumn" : 0
31- }
32- }
33- }
34- ]
35- },
36- {
37- "ruleId" : " too-many-arguments" ,
38- "level" : " note" ,
39- "message" : {
40- "text" : " Too many arguments (11/5)"
41- },
7+ "level" : " warning" ,
428 "locations" : [
439 {
4410 "physicalLocation" : {
4511 "artifactLocation" : {
4612 "uri" : " test_file.py"
4713 },
4814 "region" : {
49- "startLine " : 16 ,
50- "startColumn " : 0
15+ "startColumn " : 0 ,
16+ "startLine " : 8
5117 }
5218 }
5319 }
54- ]
55- },
56- {
57- "ruleId" : " too-many-positional-arguments" ,
58- "level" : " note" ,
20+ ],
5921 "message" : {
60- "text" : " Too many positional arguments (11/5) "
22+ "text" : " Unused import os "
6123 },
62- "locations" : [
63- {
64- "physicalLocation" : {
65- "artifactLocation" : {
66- "uri" : " test_file.py"
67- },
68- "region" : {
69- "startLine" : 16 ,
70- "startColumn" : 0
71- }
72- }
73- }
74- ]
24+ "ruleId" : " unused-import"
7525 },
7626 {
77- "ruleId" : " unused-import" ,
7827 "level" : " warning" ,
79- "message" : {
80- "text" : " Unused import os"
81- },
8228 "locations" : [
8329 {
8430 "physicalLocation" : {
8531 "artifactLocation" : {
8632 "uri" : " test_file.py"
8733 },
8834 "region" : {
89- "startLine " : 8 ,
90- "startColumn " : 0
35+ "startColumn " : 0 ,
36+ "startLine " : 9
9137 }
9238 }
9339 }
94- ]
95- },
96- {
97- "ruleId" : " unused-import" ,
98- "level" : " warning" ,
40+ ],
9941 "message" : {
10042 "text" : " Unused import sys"
10143 },
102- "locations" : [
103- {
104- "physicalLocation" : {
105- "artifactLocation" : {
106- "uri" : " test_file.py"
107- },
108- "region" : {
109- "startLine" : 9 ,
110- "startColumn" : 0
111- }
112- }
113- }
114- ]
44+ "ruleId" : " unused-import"
45+ }
46+ ],
47+ "tool" : {
48+ "driver" : {
49+ "informationUri" : " https://pylint.org" ,
50+ "name" : " Pylint" ,
51+ "rules" : null ,
52+ "version" : " 3.3.6"
11553 }
116- ]
54+ }
11755 }
118- ]
119- }
56+ ],
57+ "version" : " 2.1.0"
58+ }
You can’t perform that action at this time.
0 commit comments