chore: 🔧 Update docstring guidelines in coding standards
* Changed "Write docstrings for all public modules, classes, functions, and methods" to "Always write doc strings for all modules, classes, functions, and methods." * Added missing punctuation for consistency in error handling guidelines.
This commit is contained in:
@@ -10,11 +10,11 @@ applyTo: "**/*.py"
|
||||
- Use CamelCase for class names.
|
||||
- Follow PEP 8 style guidelines.
|
||||
- Include type hints for function parameters and return types.
|
||||
- Write docstrings for all public modules, classes, functions, and methods using google docsrting style.
|
||||
- Prefix private class members with underscore (\_)
|
||||
- Use ALL_CAPS for constants
|
||||
- Always write doc strings for all modules, classes, functions, and methods using google docstring style.
|
||||
- Prefix private class members with underscore (\_).
|
||||
- Use ALL_CAPS for constants.
|
||||
|
||||
## Error Handling
|
||||
|
||||
- Use try/except blocks for async operations
|
||||
- Always log errors with contextual information
|
||||
- Use try/except blocks for async operations.
|
||||
- Always log errors with contextual information.
|
||||
|
||||
Reference in New Issue
Block a user