Files
main/rules-v0-deprecated/pytorch-scikit-learn-cursorrules-prompt-file/chemistry-ml---general-python.mdc
T
2025-03-03 23:40:27 +05:30

9 lines
545 B
Plaintext

---
description: General Python guidelines for chemistry machine learning projects, including code style, naming conventions, and documentation.
globs: **/*.py
---
- Follow PEP 8 style guide for Python code.
- Use meaningful and descriptive names for variables, functions, and classes.
- Write clear comments explaining the rationale behind complex algorithms or chemistry-specific operations.
- Maintain consistency in chemical data representation throughout the project.
- Use type hints to improve code readability and catch potential errors.