Add codespell support with configuration and fixes#132
Merged
ThomasWaldmann merged 4 commits intolibfuse:mainfrom Mar 30, 2026
Merged
Add codespell support with configuration and fixes#132ThomasWaldmann merged 4 commits intolibfuse:mainfrom
ThomasWaldmann merged 4 commits intolibfuse:mainfrom
Conversation
Configure codespell in pyproject.toml with skip patterns for developer-notes/ and HTML files. Add GitHub Actions workflow to check spelling on push and PRs to main. Co-Authored-By: Claude Code 2.1.81 / Claude Opus 4.6 <noreply@anthropic.com>
- convience -> convenience (src/pyfuse3/__init__.pyx:560, :794) Co-Authored-By: Claude Code 2.1.81 / Claude Opus 4.6 <noreply@anthropic.com>
Fixed typos:
- peformed -> performed (src/pyfuse3/__init__.pyx:804)
- direcory -> directory (src/pyfuse3/_pyfuse3.py:243, :263)
- refering -> referring (src/pyfuse3/_pyfuse3.py:278, :353)
Co-Authored-By: Claude Code 2.1.81 / Claude Opus 4.6 <noreply@anthropic.com>
=== Do not change lines below ===
{
"chain": [],
"cmd": "UV_CACHE_DIR=/tmp/uv-cache uvx codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
Co-Authored-By: Claude Code 2.1.81 / Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
|
Thanks for this PR! |
Collaborator
|
Would you like to apply the same change for "llfuse" and "mfusepy" projects maybe? |
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.
Add codespell configuration and fix existing typos.
More about codespell: https://github.com/codespell-project/codespell
I personally introduced it to over a hundred of projects already mostly with a positive feedback
(see the "improveit-dashboard").
CI workflow has 'permissions' set only to 'read' so also should be safe.
Changes
Configuration & Infrastructure
[tool.codespell]section topyproject.tomlwith skip patterns fordeveloper-notes/and*.html.github/workflows/codespell.ymlto check spelling on push and PRs to mainre-useandre-usedas legitimate hyphenated formsTypo Fixes
Ambiguous typos fixed manually (2 fixes with context review):
convience→convenience(src/pyfuse3/__init__.pyx:560,:794)Non-ambiguous typos fixed automatically (5 fixes in 2 files):
peformed→performed(src/pyfuse3/__init__.pyx:804)direcory→directory(src/pyfuse3/_pyfuse3.py:243,:263)refering→referring(src/pyfuse3/_pyfuse3.py:278,:353)Additional typo spotted during review (missed by codespell):
ambigiouties→ambiguities(src/pyfuse3/_pyfuse3.py:278)Historical Context
This project has had 10 prior commits fixing typos manually, demonstrating the value of automated spell-checking.
Testing
✅ Codespell passes with zero errors after all fixes
🤖 Generated with Claude Code and love to typos free code