Skip to content

Add codespell#826

Merged
lucacome merged 2 commits intomainfrom
chore/codespell
Mar 6, 2026
Merged

Add codespell#826
lucacome merged 2 commits intomainfrom
chore/codespell

Conversation

@lucacome
Copy link
Owner

@lucacome lucacome commented Mar 6, 2026

Summary by CodeRabbit

  • Chores
    • Added a spell-checking hook to the repository's pre-commit workflow to surface spelling issues earlier.
    • Hook is included with a configured ignore word list so certain terms are exempt from checks.

Copilot AI review requested due to automatic review settings March 6, 2026 03:13
@github-actions github-actions bot added the chore label Mar 6, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 6, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 017e2a37-755e-4cb4-8383-1e1b9f537ba8

📥 Commits

Reviewing files that changed from the base of the PR and between 96dd3ed and 8ac5190.

📒 Files selected for processing (1)
  • .pre-commit-config.yaml

Walkthrough

Adds a codespell pre-commit hook (repo rev v2.4.2) to .pre-commit-config.yaml, configured with the argument --ignore-words-list=commitish to exclude that token from spell checks.

Changes

Cohort / File(s) Summary
Pre-commit Configuration
\.pre-commit-config.yaml
Added codespell repo entry (rev v2.4.2) and a codespell hook using --ignore-words-list=commitish. No other hooks removed or modified.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A tiny hook hopped into place,
Codespell peered at every space,
It winked and skipped the word "commitish",
Hopped on, kept our text undiminished,
✨ Quiet checks with nimble grace.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add codespell' directly and concisely describes the main change: adding a codespell pre-commit hook to the configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/codespell

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds codespell to the repository’s pre-commit hooks to catch common spelling mistakes before commits.

Changes:

  • Add codespell pre-commit hook (with an ignore list entry) to .pre-commit-config.yaml.

💡 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.

@lucacome
Copy link
Owner Author

lucacome commented Mar 6, 2026

@coderabbitai review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 6, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.pre-commit-config.yaml:
- Around line 27-28: The codespell hook's args currently use a single token '-L
commitish' which passes as one argument; update the args for the codespell hook
(the id "codespell" and its args list) so the flag and value are separate list
items—e.g., change args from [-L commitish] to ["-L", "commitish"] or use the
long form ["--ignore-words-list=commitish"] so codespell receives the flag and
its value correctly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: f237a632-f6a3-442c-8b90-976c912eb8cd

📥 Commits

Reviewing files that changed from the base of the PR and between bf95551 and 96dd3ed.

📒 Files selected for processing (1)
  • .pre-commit-config.yaml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Luca Comellini <github@lucacome.dev>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 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.

@lucacome
Copy link
Owner Author

lucacome commented Mar 6, 2026

@coderabbitai review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 6, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@lucacome lucacome merged commit 2ced37a into main Mar 6, 2026
19 checks passed
@lucacome lucacome deleted the chore/codespell branch March 6, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants