Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/validate_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,11 +591,11 @@ def header(title, width=80, char='#'):
fd.write('{}\n'.format(doc_info['docstring']))
fd.write(header('Validation'))
if doc_info['errors']:
fd.write('Errors found:\n')
fd.write('{} Errors found:\n'.format(len(doc_info['errors'])))
for err in doc_info['errors']:
fd.write('\t{}\n'.format(err))
if doc_info['warnings']:
fd.write('Warnings found:\n')
fd.write('{} Warnings found:\n'.format(len(doc_info['warnings'])))
for wrn in doc_info['warnings']:
fd.write('\t{}\n'.format(wrn))

Expand Down