Skip to content

Commit 5dc45a4

Browse files
andreaguarinoguillaume-dequenne
authored andcommitted
SONARPY-939 Update ruling expectations
1 parent df9598f commit 5dc45a4

File tree

9 files changed

+56
-23
lines changed

9 files changed

+56
-23
lines changed

its/ruling/src/test/resources/expected/python-S2638.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@
5555
'project:django-2.2.3/django/contrib/gis/db/backends/spatialite/operations.py':[
5656
105,
5757
],
58-
'project:django-2.2.3/django/core/management/commands/loaddata.py':[
59-
346,
60-
],
6158
'project:django-2.2.3/django/db/models/sql/compiler.py':[
6259
1265,
6360
1327,
@@ -66,6 +63,9 @@
6663
1422,
6764
1487,
6865
],
66+
'project:django-2.2.3/django/test/runner.py':[
67+
340,
68+
],
6969
'project:django-2.2.3/django/utils/archive.py':[
7070
151,
7171
193,

its/ruling/src/test/resources/expected/python-S4423.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,6 @@
77
174,
88
213,
99
],
10-
'project:tornado-2.3/tornado/simple_httpclient.py':[
11-
210,
12-
],
13-
'project:tornado-2.3/tornado/test/httpserver_test.py':[
14-
110,
15-
115,
16-
120,
17-
125,
18-
],
1910
'project:twisted-12.1.0/doc/core/examples/echoserv_ssl.py':[
2011
15,
2112
],

its/ruling/src/test/resources/expected/python-S5632.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,4 @@
1212
83,
1313
87,
1414
],
15-
'project:tornado-2.3/tornado/platform/windows.py':[
16-
20,
17-
],
1815
}

its/ruling/src/test/resources/expected/python-S5644.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
22,
88
24,
99
],
10+
'project:twisted-12.1.0/twisted/python/runtime.py':[
11+
94,
12+
],
1013
'project:twisted-12.1.0/twisted/test/test_paths.py':[
1114
166,
1215
167,
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
'project:django-2.2.3/django/core/mail/backends/smtp.py':[
3+
83,
4+
],
5+
}

its/ruling/src/test/resources/expected/python-S5713.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
'project:django-2.2.3/django/template/defaultfilters.py':[
33
816,
44
],
5+
'project:tornado-2.3/tornado/platform/common.py':[
6+
75,
7+
84,
8+
],
9+
'project:twisted-12.1.0/twisted/internet/selectreactor.py':[
10+
115,
11+
],
512
'project:twisted-12.1.0/twisted/web/http.py':[
613
1206,
714
],

its/ruling/src/test/resources/expected/python-S5727.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
109,
1313
113,
1414
],
15+
'project:numpy-1.16.4/numpy/distutils/exec_command.py':[
16+
71,
17+
305,
18+
],
1519
'project:numpy-1.16.4/numpy/distutils/misc_util.py':[
1620
340,
1721
341,
@@ -34,9 +38,6 @@
3438
'project:tensorflow/python/training/saver.py':[
3539
608,
3640
],
37-
'project:tornado-2.3/tornado/autoreload.py':[
38-
284,
39-
],
4041
'project:twisted-12.1.0/twisted/mail/imap4.py':[
4142
557,
4243
1088,
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
'project:django-2.2.3/django/template/defaultfilters.py':[
3+
53,
4+
],
5+
'project:django-2.2.3/django/test/selenium.py':[
6+
59,
7+
],
8+
'project:django-2.2.3/django/test/utils.py':[
9+
788,
10+
],
11+
'project:django-2.2.3/django/utils/six.py':[
12+
790,
13+
],
14+
'project:django-2.2.3/django/views/decorators/clickjacking.py':[
15+
19,
16+
37,
17+
53,
18+
],
19+
'project:django-2.2.3/django/views/decorators/csrf.py':[
20+
56,
21+
],
22+
'project:mypy-0.782/test-data/stdlib-samples/3.2/test/support.py':[
23+
1569,
24+
],
25+
'project:mypy-0.782/test-data/stdlib-samples/3.2/test/test_posixpath.py':[
26+
34,
27+
],
28+
'project:numpy-1.16.4/numpy/lib/utils.py':[
29+
826,
30+
],
31+
'project:numpy-1.16.4/numpy/testing/_private/parameterized.py':[
32+
362,
33+
],
34+
}

its/ruling/src/test/resources/expected/python-S5795.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
217,
55
],
66
'project:numpy-1.16.4/numpy/distutils/misc_util.py':[
7-
340,
8-
341,
9-
342,
10-
343,
11-
344,
127
476,
138
],
149
'project:numpy-1.16.4/numpy/ma/core.py':[

0 commit comments

Comments
 (0)