-
Notifications
You must be signed in to change notification settings - Fork 6
Add GitHub Copilot instructions for repository context #580
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
Conversation
Co-authored-by: hombit <1784493+hombit@users.noreply.github.com>
.github/copilot-instructions.md
Outdated
| - System dependencies: `libgsl-dev` (on Ubuntu/Debian) | ||
| - Optional: CMake and C++ compiler for Ceres solver support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also FFTW
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added FFTW to system dependencies in commit 030d7a4.
.github/copilot-instructions.md
Outdated
| #### Running Tests | ||
| - **All tests**: `pytest` or `python -m pytest` | ||
| - **With benchmarks**: `pytest --benchmark-enable` | ||
| - **Exclude slow benchmarks**: `pytest -m "not (nobs or multi)" --benchmark-enable` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommended
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to "(recommended)" in commit 030d7a4.
.github/copilot-instructions.md
Outdated
| - **Specific test file**: `pytest tests/test_w_bench.py` | ||
|
|
||
| #### Linting and Formatting | ||
| - **Python**: `black` and `ruff` (configured in pyproject.toml) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Black is going to be replaced with ruff format, please fix as it would be already the case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced Black with Ruff format in commit 030d7a4.
.github/copilot-instructions.md
Outdated
| #### Python | ||
| - **Line length**: 120 characters | ||
| - **Target version**: Python 3.9+ | ||
| - **Formatter**: Black |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ruff format, see above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated formatter reference to Ruff format in commit 030d7a4.
|
@copilot please implement the review comments |
…chmark recommendation Co-authored-by: hombit <1784493+hombit@users.noreply.github.com>
Setting up GitHub Copilot instructions for the repository
.github/copilot-instructions.mdfile with repository-specific guidanceSummary
Successfully created
.github/copilot-instructions.md(216 lines, 7.8 KB) with comprehensive guidance for GitHub Copilot when working with this repository. Updated based on reviewer feedback to reflect the transition from Black to Ruff format and added FFTW to system dependencies.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.