-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[py] Use double quotes in generate.py #16607
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
Conversation
PR Compliance Guide 🔍(Compliance updated until commit 5eaf602)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit f9a2e17
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
cgoldberg
left a comment
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.
use docstrings for function comments
They are already docstrings... this just changes the quotes from single to double. To make it consistent, we might as well convert all the quotes to double like we do in the rest of the Python files. I just pushed a commit to your branch that does that.
User description
🔗 Related Issues
💥 What does this PR do?
Uses consistent quoting.
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Convert single-quoted docstrings to double-quoted format
Standardize docstring style across entire generate.py module
Improve code consistency with Python documentation conventions
Diagram Walkthrough
File Walkthrough
generate.py
Convert all docstrings from single to double quotespy/generate.py
docstrings (""") across 50+ functions and classes
properties, and dataclass definitions
indent(),escape_backticks(),docstring(), and all CDP-related classes (CdpType,CdpCommand,CdpEvent,CdpDomain, etc.)formatting