Skip to content

Commit 803d071

Browse files
committed
add file and file_line as None if no docstring
1 parent f826416 commit 803d071

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/validate_docstrings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ def pandas_validate(func_name: str):
252252
else:
253253
result = {
254254
"docstring": "",
255+
"file": None,
256+
"file_line": None,
255257
"errors": [("GL08", "The object does not have a docstring")],
256258
}
257259
mentioned_errs = doc.mentioned_private_classes

0 commit comments

Comments
 (0)