Skip to content

Fix typos in comments, docstrings and docs. - #1024

Merged
junkmd merged 1 commit into
enthought:mainfrom
jeanluyac-sketch:fix-typos
Dec 2, 2026
Merged

junkmd merged 1 commit into
enthought:mainfrom
jeanluyac-sketch:fix-typos

Conversation

@jeanluyac-sketch

Copy link
Copy Markdown
Contributor

Fixes typos found with codespell in comments, docstrings, docs and CONTRIBUTING.md (33 files, 39 lines). Nothing executable changes: the only non-comment edit is the missing "s" in an assertion message string in test_named_property.py ("shoud pass" -> "should pass", it is only the msg= of assertRaises). I did not touch identifiers, the unknwn module name or similar words.

Checked: python -m compileall comtypes succeeds. I did not run the unittest suite (Windows only, and no code changed). ruff format --check reports one file (comtypes/client/_generate.py) that is also unformatted on main without this change.

AI assistance: drafted with Claude; I reviewed the diff myself.

Found with codespell. Only comments, docstrings, documentation text and
one assertion message of a test are changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0137jz1XbSeuomn8S7nSE9k6
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.63%. Comparing base (44cbe15) to head (9be3e3e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1024   +/-   ##
=======================================
  Coverage   92.63%   92.63%           
=======================================
  Files         154      154           
  Lines       16880    16880           
=======================================
  Hits        15637    15637           
  Misses       1243     1243           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@junkmd junkmd added the shared_info use cases, tips and troubleshoots label Dec 2, 2026

@junkmd junkmd 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.

Although this PR touches many files, the main reason it is easy to approve is that it does not change any executable code.
If it also included things like typo fixes in variable names or formatting changes, it would have been much harder to merge.

I believe PRs with a clearly limited scope are easier for maintainers to review and merge.
Of course, there will still be PRs that are not quite ready to merge as they are. However, we can communicate with each other, so I don't think we should judge PRs only by whether they can be merged as-is.

@junkmd
junkmd merged commit cd68183 into enthought:main Dec 2, 2026
68 checks passed
@junkmd junkmd added this to the 1.5.1 milestone Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shared_info use cases, tips and troubleshoots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants