blob: 94aae70c9d920a4f3214303d9c531acd01641f12 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
applyTo: "**/*.py"
---
# Project general coding standards
## Naming Conventions
- Use snake_case for variable and function names.
- 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
## Error Handling
- Use try/except blocks for async operations
- Always log errors with contextual information
|