-
Notifications
You must be signed in to change notification settings - Fork 50
dcnm_bootflash: 01 cleanup docstrings #570
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: develop
Are you sure you want to change the base?
Conversation
This commit (and PR) does not contain any functional changes. It merely cleans up docstrings to conform to proper Markdown and adds module docstrings.
No functional changes.
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.
Pull request overview
This PR performs a comprehensive cleanup of docstrings across the dcnm_bootflash module and its related utilities. The changes convert docstrings from an inconsistent format to standardized Markdown, making them more readable and consistent. Module-level docstrings have been added to all affected files, and the heading structure has been normalized to use # for Summary sections and ## for major subsections like Raises, with ### for exception types.
Key Changes
- Standardized all docstring headings to use Markdown format (
#for Summary,##for major sections,###for subsections) - Added module-level docstrings to five files describing their purpose
- Converted inline code references from double backticks to single backticks for consistency
- Reformatted bullet lists and code examples to follow proper Markdown conventions
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| plugins/modules/dcnm_bootflash.py | Added module docstring; reformatted all method/class docstrings to use consistent Markdown headings and bullet formatting |
| plugins/module_utils/bootflash/convert_target_to_params.py | Added module docstring; standardized docstring formatting with proper Markdown structure and code examples |
| plugins/module_utils/bootflash/convert_file_info_to_target.py | Added module docstring; reformatted all docstrings to use consistent heading levels and Markdown conventions |
| plugins/module_utils/bootflash/bootflash_info.py | Added module docstring; normalized Raises sections to use consistent subsection headings |
| plugins/module_utils/bootflash/bootflash_files.py | Added module docstring; standardized all docstrings with proper Markdown formatting and improved readability |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No functional changes in this commit. 1. Fix typos 2. Remove extra backtick 3. Remove extra blank line 4. Minor reformatting of docstrings
Summary
There are no functional changes in this PR. It merely cleans up all method docstrings to conform to Markdown and adds module docstrings.
Notes to reviewers