You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide project context and coding guidelines that AI should follow when generating code, answering questions, or reviewing changes.
5
+
6
+
## General Guidelines
7
+
8
+
1.**Test-Driven Development**: Write unit tests for all new functions and features. Use `pytest` for Python and appropriate testing frameworks for Node.js.
9
+
2.**Environment Variables**: Use [Environment Variables Guide](../../docs/env-vars.md) for configuration. Avoid hardcoding sensitive information.
10
+
3.**Documentation**: Prefer self-explanatory code; add documentation only if explicitly requested by the developer. Be concise.
11
+
4.**Code Reviews**: Participate in code reviews and provide constructive feedback.
Provide project context and coding guidelines that AI should follow when generating code, answering questions, or reviewing changes.
5
+
6
+
## General Guidelines
7
+
8
+
1.**Test-Driven Development**: Write unit tests for all new functions and features. Use `pytest` for Python and appropriate testing frameworks for Node.js.
9
+
2.**Environment Variables**: Use [Environment Variables Guide](../docs/env-vars.md) for configuration. Avoid hardcoding sensitive information.
10
+
3.**Documentation**: Prefer self-explanatory code; add documentation only if explicitly requested by the developer.
Copy file name to clipboardExpand all lines: .github/instructions/python.instructions.md
+8-20Lines changed: 8 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,7 @@
1
-
# GitHub Copilot Instructions
2
-
3
-
This document provides guidelines and best practices for using GitHub Copilot in the `osparc-simcore` repository and other Python and Node.js projects.
4
-
5
-
## General Guidelines
6
-
7
-
1.**Test-Driven Development**: Write unit tests for all new functions and features. Use `pytest` for Python and appropriate testing frameworks for Node.js.
8
-
2.**Environment Variables**: Use [Environment Variables Guide](../docs/env-vars.md) for configuration. Avoid hardcoding sensitive information.
9
-
3.**Documentation**: Prefer self-explanatory code; add documentation only if explicitly requested by the developer.
10
-
11
1
---
2
+
applyTo: '**/*.py'
3
+
---
4
+
Provide project context and coding guidelines that AI should follow when generating code, answering questions, or reviewing changes.
12
5
13
6
## 🛠️Coding Instructions for Python in This Repository
14
7
@@ -25,8 +18,8 @@ Follow these rules **strictly** when generating Python code:
0 commit comments