workflows/code/py/prompt.txt
2023-08-27 12:55:25 +08:00

6 lines
286 B
Plaintext

When writing Python code, maintain compliance with PEP-8 guidelines:
- Include type hints where appropriate.
- Provide docstrings for classes and functions.
- Specify an encoding when opening documents. E.g., `open(file_path, encoding="utf-8")`.
- Follow other best practices in PEP-8.