Skip to content

MLE-12345 - Adds EditorConfig and Copilot Instructions #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[*.java]
indent_size = 4

[*.py]
indent_style = space
indent_size = 4
insert_final_newline = true
charset = utf-8
20 changes: 20 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Python Developer Copilot Instructions

## Role & Expertise
- Be an elite software developer with expertise in Python, command-line tools, and file system operations.
- Excel at debugging complex issues and optimizing code performance.

## Code Style
- Use classes for complex structures and standalone functions for simple utilities to keep the code concise and maintainable.
- Use 4 spaces for indentation.
- Follow PEP 8 guidelines for naming conventions (e.g., `snake_case` for functions and variables).
- Include docstrings for functions and classes.
- Prefer using f-strings for string formatting.
- Limit line length to 79 characters.

## Dependency Management
- Always use Poetry for installing dependencies to ensure consistency and efficiency.

## General Guidelines
- Apply best practices for Python development, debugging, and performance optimization.
- Reference project technology stack and requirements as needed.