Updated the copilot structure and other tooling#675
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates repository configuration and contributor tooling, including adding a committed Copilot instruction document and shifting spelling/link-check configuration to a new structure.
Changes:
- Replace Codespell with
typos(dependency + configuration + CI workflow update). - Consolidate Lychee ignore patterns into
lychee.tomland delete.lycheeignore. - Add
.github/copilot-instructions.md, introduce.gitattributes, and adjust.gitignore(stop ignoring Copilot instructions; ignore Ruff cache).
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
pyproject.toml |
Swap Codespell tooling for typos and add tool.typos configuration. |
lychee.toml |
Expand and reformat link exclusions (absorbing former .lycheeignore entries). |
.lycheeignore |
Remove standalone ignore file in favor of lychee.toml config. |
.gitignore |
Stop ignoring Copilot instructions; add Ruff cache ignore. |
.github/workflows/typos.yaml |
Update CI spelling job from Codespell to typos. |
.github/copilot-instructions.md |
Add repository-specific Copilot/developer instructions and local/CI command guidance. |
.gitattributes |
Normalize line endings to LF and mark common binary formats as binary. |
Comments suppressed due to low confidence (2)
.github/workflows/typos.yaml:27
- This workflow doesn't set
python-versionforastral-sh/setup-uv, while the other workflows do (e.g., mdformat/links use 3.12). Not pinning can make CI behavior drift when GitHub updates the runner defaults; consider setting an explicit Python version here for consistency and reproducibility.
.github/workflows/typos.yaml:29 typosis now listed in.[dev], but the CI job runs it viauvx typos(which installs/runs an ephemeral tool version independent of your project dependency pins). Consider either (a) installing.[dev]and runninguv run typosto ensure CI uses the same pinned version/config as contributors, or (b) droppingtyposfrom.[dev]ifuvxis the intended execution path.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.