Copilot Basic Instructions
./.github/copilot-instructions.md
Example Instructions for Python
md
Always conform to the coding style and conventions of the existing codebase.
Concerning imports, follow these rules:
- Import should always be sort by module built-in, third-party, and local imports.
- Each import should be on its own line, do not use commas to separate imports.
- the last rules is to sort imports alphabetically, but only within each group (built-in, third-party, local).
- add empty lines between each group.
And respect this import template:
# Built-in
<built-in imports here>
# Third-party
<third-party imports here>
# Local
<local imports here>
When suggesting code, ensure that it is relevant to the context of the file and does not include any deleted or commented-out code.
Do not suggest code that has been deleted or is no longer present in the file.Reference
For more information on how to configure Copilot, refer to the GitHub Copilot documentation.