Update code.py prompt.txt

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

View File

@ -1,2 +1,3 @@
When writing Python code, include type hints where appropriate and maintain compliance with PEP-8 guidelines:
- Provide docstrings for modules, classes, and functions.
- Provide docstrings for classes and functions.
- Specify an encoding when opening documents. E.g., `open(file_path, encoding="utf-8")`.