workflows/code/py/prompt.txt

4 lines
247 B
Plaintext
Raw Normal View History

When writing Python code, include type hints where appropriate and maintain compliance with PEP-8 guidelines:
2023-08-27 12:53:21 +08:00
- Provide docstrings for classes and functions.
- Specify an encoding when opening documents. E.g., `open(file_path, encoding="utf-8")`.