8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7d1f6 commit c857b4fCopy full SHA for c857b4f
scripts/validate_docstrings.py
@@ -455,6 +455,12 @@ def validate_one(func_name):
455
if not rel_desc:
456
errs.append('Missing description for '
457
'See Also "{}" reference'.format(rel_name))
458
+
459
+ for line in doc.raw_doc.splitlines():
460
+ if re.match("^ *\t", line):
461
+ errs.append('Tabs found at the start of line "{}", '
462
+ 'please use whitespace only'.format(line.lstrip()))
463
464
examples_errs = ''
465
if not doc.examples:
466
errs.append('No examples section found')
0 commit comments