Conversation
Add codespell as a dependency of the python-test feature so the ci-codespell workflow can invoke it via 'pixi run -e ptest codespell' alongside the other locked test tooling. Mirror the dep in the pyproject test extras and add a [tool.codespell] config block that pins the skip list and reserves an ignore-words-list slot for future false positives.
- date.py: 'ammended' -> 'amended' in the date extractor system prompt - water/graphs.py: 'betweeen' -> 'between' in the well spacing prompt
There was a problem hiding this comment.
Pull request overview
Adds automated spell-checking for extraction code and fixes a couple of typos in extraction-related prompts, helping prevent similar issues across technologies.
Changes:
- Add
codespellas a test dependency and configure it via[tool.codespell]inpyproject.toml - Add a Pixi task and a new GitHub Actions workflow to run
codespellagainstcompass/extraction - Fix misspellings in extraction prompt text
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Adds codespell to test extras and introduces [tool.codespell] configuration. |
| pixi.toml | Adds a codespell task and includes codespell in the python-test feature dependencies. |
| pixi.lock | Regenerates lockfile to include codespell and related metadata changes. |
| compass/extraction/water/graphs.py | Fixes a typo in a well-spacing prompt string. |
| compass/extraction/date.py | Fixes a typo in the date extraction system prompt string. |
| .github/workflows/ci-codespell.yml | New workflow to run codespell on compass/extraction using Pixi ptest. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #504 +/- ##
=======================================
Coverage 63.22% 63.22%
=======================================
Files 78 78
Lines 7141 7141
Branches 710 710
=======================================
Hits 4515 4515
Misses 2493 2493
Partials 133 133
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
ppinchuk
left a comment
There was a problem hiding this comment.
Oh cool, I use a Codespell VSCode plugin, I didn't know its available in CI. Very neat thing to add
I found a few typos in the transmission development. This might help other technologies.