workflows/code/py/prompt.txt

6 lines
286 B
Plaintext
Raw Normal View History

2023-08-27 12:55:25 +08:00
When writing Python code, maintain compliance with PEP-8 guidelines:
- Include type hints where appropriate.
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")`.
2023-08-27 12:55:25 +08:00
- Follow other best practices in PEP-8.