Files
main/rules-v0/pytorch-scikit-learn-cursorrules-prompt-file/chemistry-ml---general-python.mdc
2025-02-27 00:04:07 +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.