Created
January 17, 2025 21:15
-
-
Save pamelafox/871d3440f92a345ded23275da45511e2 to your computer and use it in GitHub Desktop.
python_instructions.json from Python Pulse stream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"github.copilot.chat.codeGeneration.instructions": [ | |
{ | |
"text": "Always add a comment: 'Generated by Copilot'." | |
}, | |
{ | |
"text": "In Python always adhere to PEP8. Prefer pandas over polars. Prefer argparse over click." | |
}, | |
{ | |
"text": "Use type annotations when writing python function signatures and classes." | |
}, | |
], | |
"github.copilot.chat.testGeneration.instructions": [ | |
{ | |
"text": "All pytests should contain comments that describe the steps of the past - 'Arrange', 'Act', 'Assert'." | |
}, | |
{ | |
"text": "Always create fixtures for common setup steps." | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment