-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
📝 Add docstrings to main
#8028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
📝 Add docstrings to main
#8028
Conversation
Docstrings generation was requested by @leggewie. * #8027 (comment) The following files were modified: * `lib/functions/host/prepare-host.sh`
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets absolutely not merge this rabbit thing, as it is currently under review in the proper PR #8027
Sorry |
And lets focus into what Rabbit says - not sure if we can blindly trust - professionally designed docs bits looks correct, but are they? |
They're not bad, really. Since it is only generating the docs for one function (that is really used from other functions) the stuff is a bit out of context -- some variables he calls "globals" when they're really in context of another function, not really globals. bash variable scope is very hard subject. I'd not go adding those blindly, as docstrings tend to fall out of sync with the function they document very quickly, and thus become cruft. |
Docstrings generation was requested by @leggewie.
The following files were modified:
lib/functions/host/prepare-host.sh
ℹ️ Note