(docstring: str)
| 413 | # =================== Check docstring ====================== |
| 414 | |
| 415 | def check_docstring_length(docstring: str): |
| 416 | doc_tokens = docstring.strip().split() |
| 417 | if len(doc_tokens) < 3: # or len(doc_tokens) > 256: |
| 418 | # if len(doc_tokens) >= 256: |
| 419 | return True |
| 420 | return False |
| 421 | |
| 422 | |
| 423 | def check_docstring_literal(docstring: str): |