Skip to content

Commit c8a64b4

Browse files
committed
Set doc_start_line and doc_end_line to -1 for functions without docstrings
1 parent c88d744 commit c8a64b4

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

integeration_test/samples/sample1.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"docstring": "",
3131
"fun_start_line": 274,
3232
"fun_end_line": 285,
33-
"doc_start_line": 274,
34-
"doc_end_line": 274,
33+
"doc_start_line": -1,
34+
"doc_end_line": -1,
3535
"annotations": [],
3636
"code_line_start": 274,
3737
"code_line_end": 285
@@ -48,8 +48,8 @@
4848
"docstring": "",
4949
"fun_start_line": 287,
5050
"fun_end_line": 312,
51-
"doc_start_line": 287,
52-
"doc_end_line": 287,
51+
"doc_start_line": -1,
52+
"doc_end_line": -1,
5353
"annotations": [],
5454
"code_line_start": 287,
5555
"code_line_end": 312
@@ -83,8 +83,8 @@
8383
"docstring": "",
8484
"fun_start_line": 354,
8585
"fun_end_line": 378,
86-
"doc_start_line": 354,
87-
"doc_end_line": 354,
86+
"doc_start_line": -1,
87+
"doc_end_line": -1,
8888
"annotations": [],
8989
"code_line_start": 354,
9090
"code_line_end": 378
@@ -118,8 +118,8 @@
118118
"docstring": "",
119119
"fun_start_line": 41,
120120
"fun_end_line": 60,
121-
"doc_start_line": 41,
122-
"doc_end_line": 41,
121+
"doc_start_line": -1,
122+
"doc_end_line": -1,
123123
"annotations": [],
124124
"code_line_start": 41,
125125
"code_line_end": 60
@@ -155,8 +155,8 @@
155155
"docstring": "",
156156
"fun_start_line": 91,
157157
"fun_end_line": 122,
158-
"doc_start_line": 91,
159-
"doc_end_line": 91,
158+
"doc_start_line": -1,
159+
"doc_end_line": -1,
160160
"annotations": [],
161161
"code_line_start": 91,
162162
"code_line_end": 122
@@ -194,8 +194,8 @@
194194
"docstring": "",
195195
"fun_start_line": 154,
196196
"fun_end_line": 182,
197-
"doc_start_line": 154,
198-
"doc_end_line": 154,
197+
"doc_start_line": -1,
198+
"doc_end_line": -1,
199199
"annotations": [],
200200
"code_line_start": 154,
201201
"code_line_end": 182
@@ -211,8 +211,8 @@
211211
"docstring": "",
212212
"fun_start_line": 184,
213213
"fun_end_line": 205,
214-
"doc_start_line": 184,
215-
"doc_end_line": 184,
214+
"doc_start_line": -1,
215+
"doc_end_line": -1,
216216
"annotations": [],
217217
"code_line_start": 184,
218218
"code_line_end": 205
@@ -225,8 +225,8 @@
225225
"docstring": "",
226226
"fun_start_line": 207,
227227
"fun_end_line": 232,
228-
"doc_start_line": 207,
229-
"doc_end_line": 207,
228+
"doc_start_line": -1,
229+
"doc_end_line": -1,
230230
"annotations": [],
231231
"code_line_start": 207,
232232
"code_line_end": 232

0 commit comments

Comments
 (0)