Update code.py prompt.txt

This commit is contained in:
Jinglei Ren 2023-08-27 12:55:25 +08:00 committed by GitHub
parent 4ff2da6b39
commit f0cf518da4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,5 @@
When writing Python code, include type hints where appropriate and maintain compliance with PEP-8 guidelines:
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.