Skip to content

Codespell - #504

Merged
castelao merged 3 commits into
mainfrom
codespell
Jul 23, 2026
Merged

Codespell#504
castelao merged 3 commits into
mainfrom
codespell

Conversation

@castelao

Copy link
Copy Markdown
Member

I found a few typos in the transmission development. This might help other technologies.

castelao added 3 commits July 23, 2026 09:47
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
@castelao castelao self-assigned this Jul 23, 2026
Copilot AI review requested due to automatic review settings July 23, 2026 15:54
@castelao
castelao requested a review from ppinchuk as a code owner July 23, 2026 15:54
@castelao castelao added the chore Maintenance work that does not impact the user label Jul 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 codespell as a test dependency and configure it via [tool.codespell] in pyproject.toml
  • Add a Pixi task and a new GitHub Actions workflow to run codespell against compass/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.

Comment thread compass/extraction/date.py
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.22%. Comparing base (c8abf83) to head (6155d00).
⚠️ Report is 1 commits behind head on main.

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           
Flag Coverage Δ
unittests 63.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ppinchuk ppinchuk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh cool, I use a Codespell VSCode plugin, I didn't know its available in CI. Very neat thing to add

@castelao
castelao merged commit e2b549a into main Jul 23, 2026
33 checks passed
@castelao
castelao deleted the codespell branch July 23, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance work that does not impact the user

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants