Skip to content

Commit 244dd45

Browse files
committed
SONARPY-2040 Add the sonar.ipynb.file.suffixes property (#1889)
1 parent ada011d commit 244dd45

33 files changed

+839
-11
lines changed

its/ruling/src/test/java/org/sonar/python/it/PythonRulingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static void prepare_quality_profile() {
5757
String serverUrl = ORCHESTRATOR.getServer().getUrl();
5858
File profileFile = ProfileGenerator.generateProfile(serverUrl, "py", "python", parameters, Collections.emptySet());
5959
ORCHESTRATOR.getServer().restoreProfile(FileLocation.of(profileFile));
60-
File iPythonProfileFile = ProfileGenerator.generateProfile(serverUrl, "ipynb", "python", parameters, Collections.emptySet());
60+
File iPythonProfileFile = ProfileGenerator.generateProfile(serverUrl, "ipynb", "ipython", parameters, Collections.emptySet());
6161
ORCHESTRATOR.getServer().restoreProfile(FileLocation.of(iPythonProfileFile));
6262
}
6363

Lines changed: 247 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,247 @@
1+
{
2+
"project:Keras-Tutorials-master/01_linear_regression.ipynb": [
3+
36,
4+
337
5+
],
6+
"project:Keras-Tutorials-master/03_net.ipynb": [
7+
324
8+
],
9+
"project:Keras-Tutorials-master/04_modern_net.ipynb": [
10+
340
11+
],
12+
"project:Keras-Tutorials-master/05_convolutional_net.ipynb": [
13+
168,
14+
425
15+
],
16+
"project:Keras-Tutorials-master/06_autoencoder.ipynb": [
17+
390
18+
],
19+
"project:Keras-Tutorials-master/10_save_restore_net.ipynb": [
20+
121,
21+
123,
22+
125,
23+
127,
24+
129,
25+
131,
26+
133,
27+
135,
28+
137,
29+
139,
30+
146
31+
],
32+
"project:pecos/tutorials/kdd22/Session 2 Extreme Multi-label Classification with PECOS.ipynb": [
33+
10,
34+
16,
35+
23,
36+
86,
37+
88,
38+
102,
39+
105,
40+
107,
41+
112,
42+
157,
43+
231,
44+
234,
45+
235,
46+
280,
47+
286,
48+
288,
49+
309,
50+
323,
51+
325,
52+
358,
53+
379,
54+
411,
55+
444,
56+
466,
57+
470,
58+
474,
59+
475,
60+
476,
61+
477,
62+
478,
63+
479,
64+
486,
65+
496,
66+
498,
67+
531,
68+
533,
69+
537,
70+
570,
71+
583,
72+
584,
73+
585,
74+
586,
75+
599,
76+
602,
77+
612,
78+
614,
79+
617,
80+
620,
81+
675,
82+
690,
83+
691,
84+
692,
85+
693,
86+
732,
87+
799,
88+
810,
89+
824,
90+
855,
91+
961,
92+
991,
93+
1025,
94+
1057,
95+
1061,
96+
1067,
97+
1069,
98+
1163,
99+
1213,
100+
1300,
101+
1302
102+
],
103+
"project:pecos/tutorials/kdd22/Session 3 Approximate Nearest Neighbor Search in PECOS.ipynb": [
104+
21,
105+
23,
106+
28,
107+
29,
108+
40,
109+
58,
110+
59,
111+
72,
112+
77,
113+
145,
114+
147,
115+
148,
116+
149,
117+
150,
118+
153,
119+
155,
120+
216,
121+
219,
122+
228,
123+
257,
124+
258,
125+
348,
126+
443,
127+
474,
128+
481,
129+
495,
130+
701,
131+
751,
132+
755,
133+
766
134+
],
135+
"project:pecos/tutorials/kdd22/Session 4 Utilities in PECOS.ipynb": [
136+
10,
137+
25,
138+
35,
139+
183,
140+
261,
141+
263,
142+
273,
143+
274,
144+
409,
145+
437,
146+
462,
147+
531,
148+
581,
149+
582,
150+
592,
151+
724,
152+
791,
153+
798,
154+
801,
155+
803,
156+
808,
157+
818,
158+
895,
159+
1003,
160+
1014
161+
],
162+
"project:pecos/tutorials/kdd22/Session 5 eXtreme Multi-label Classification with XR-Transformer.ipynb": [
163+
12,
164+
31,
165+
103,
166+
113,
167+
117,
168+
178,
169+
195,
170+
276,
171+
277,
172+
278,
173+
320,
174+
322,
175+
323,
176+
352,
177+
428,
178+
450,
179+
472,
180+
482,
181+
483,
182+
484,
183+
485,
184+
486,
185+
576,
186+
577,
187+
579,
188+
594,
189+
595,
190+
596,
191+
597,
192+
598,
193+
599,
194+
600,
195+
601,
196+
602,
197+
647,
198+
650,
199+
671,
200+
672,
201+
673,
202+
674,
203+
675,
204+
676,
205+
706,
206+
719,
207+
770,
208+
786,
209+
787,
210+
788,
211+
789,
212+
829,
213+
892,
214+
893,
215+
894,
216+
895,
217+
967,
218+
974
219+
],
220+
"project:tensorflow/python/autograph/g3doc/pyct_tutorial.ipynb": [
221+
16,
222+
18,
223+
45,
224+
55,
225+
131,
226+
158,
227+
221,
228+
290,
229+
325,
230+
370,
231+
372,
232+
413,
233+
444
234+
],
235+
"project:tensorflow/python/autograph/g3doc/reference/_control_flow_tutorial.ipynb": [
236+
10,
237+
73,
238+
75,
239+
131,
240+
198,
241+
268,
242+
299,
243+
377,
244+
524,
245+
704
246+
]
247+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"project:pecos/tutorials/kdd22/Session 2 Extreme Multi-label Classification with PECOS.ipynb": [
3+
0
4+
],
5+
"project:pecos/tutorials/kdd22/Session 4 Utilities in PECOS.ipynb": [
6+
0
7+
]
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"project:tensorflow/python/autograph/g3doc/reference/_control_flow_tutorial.ipynb": [
3+
60
4+
]
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"project:pecos/tutorials/kdd22/Session 2 Extreme Multi-label Classification with PECOS.ipynb": [
3+
1318
4+
]
5+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"project:Keras-Tutorials-master/01_linear_regression.ipynb": [
3+
0
4+
],
5+
"project:Keras-Tutorials-master/02_logistic_regression.ipynb": [
6+
0
7+
],
8+
"project:Keras-Tutorials-master/03_net.ipynb": [
9+
0
10+
],
11+
"project:Keras-Tutorials-master/04_modern_net.ipynb": [
12+
0
13+
],
14+
"project:Keras-Tutorials-master/05_convolutional_net.ipynb": [
15+
0
16+
]
17+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"project:pecos/tutorials/kdd22/Session 2 Extreme Multi-label Classification with PECOS.ipynb": [
3+
889
4+
],
5+
"project:pecos/tutorials/kdd22/Session 3 Approximate Nearest Neighbor Search in PECOS.ipynb": [
6+
324,
7+
324,
8+
324,
9+
326,
10+
327,
11+
329,
12+
343,
13+
403,
14+
403,
15+
403,
16+
403,
17+
419,
18+
425,
19+
425
20+
],
21+
"project:pecos/tutorials/kdd22/Session 4 Utilities in PECOS.ipynb": [
22+
361,
23+
362,
24+
367,
25+
368,
26+
368,
27+
369
28+
]
29+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"project:pecos/tutorials/kdd22/Session 3 Approximate Nearest Neighbor Search in PECOS.ipynb": [
3+
403
4+
]
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"project:tensorflow/python/autograph/g3doc/pyct_tutorial.ipynb": [
3+
468
4+
]
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"project:pecos/tutorials/kdd22/Session 4 Utilities in PECOS.ipynb": [
3+
104
4+
]
5+
}

0 commit comments

Comments
 (0)