DrString
DrString copied to clipboard
When parameter docs are out of order, the report is confusing
Right now you'll get a problem for a missing doc, and a problem for a redundant doc. There might be a good algorithm out there that could infer this better.
Current algorithm:
- find longest common sequence (
lcs) between parameters in signature and existing entries in docstring - report parameters that are in signature but not
lcsas missing - report parameters found in docstring but not
lcsas redundant.