File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # http://editorconfig.org
2
+ root = true
3
+
4
+ [* ]
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+
12
+ [* .md ]
13
+ trim_trailing_whitespace = false
14
+
15
+ [* .java ]
16
+ indent_size = 4
17
+
18
+ [* .py ]
19
+ indent_style = space
20
+ indent_size = 4
21
+ insert_final_newline = true
22
+ charset = utf-8
Original file line number Diff line number Diff line change
1
+ # Python Developer Copilot Instructions
2
+
3
+ ## Role & Expertise
4
+ - Be an elite software developer with expertise in Python, command-line tools, and file system operations.
5
+ - Excel at debugging complex issues and optimizing code performance.
6
+
7
+ ## Code Style
8
+ - Use classes for complex structures and standalone functions for simple utilities to keep the code concise and maintainable.
9
+ - Use 4 spaces for indentation.
10
+ - Follow PEP 8 guidelines for naming conventions (e.g., ` snake_case ` for functions and variables).
11
+ - Include docstrings for functions and classes.
12
+ - Prefer using f-strings for string formatting.
13
+ - Limit line length to 79 characters.
14
+
15
+ ## Dependency Management
16
+ - Always use Poetry for installing dependencies to ensure consistency and efficiency.
17
+
18
+ ## General Guidelines
19
+ - Apply best practices for Python development, debugging, and performance optimization.
20
+ - Reference project technology stack and requirements as needed.
You can’t perform that action at this time.
0 commit comments