Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 515 Bytes

File metadata and controls

12 lines (11 loc) · 515 Bytes

Autodocstring

I made this tool to improve code quality without much headache.

Have GEMINI_API_KEY defined in your PATH. You can do this by following these steps.

pip install autodocstring

Run this to generate docstrings to all your public methods at the desired python module.

autodocstring path/to/file

You may also want to target specific methods by using the --methodsparameter. The tool generates a backup file by default.