Haidra-Org / hordelib

A wrapper around ComfyUI to allow use by the AI Horde.

Home Page:https://hordelib.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enforce docstring must be present

tazlin opened this issue · comments

commented

As part of a future push to stay on top of the code being maintainable, I propose we enforce the presence of docstrings on functions (at a minimum). I also would strongly encourage docstring for any consts, and for most attrs in classes.

Ruff has a facility for this. You can find more information at https://beta.ruff.rs/docs/rules/#pydocstyle-d.