You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project currently uses codespell to detect spelling mistakes. However, codespell does not detect typos in snake_case, which are very common for parameter or variable names.
For example, for the typo pricipal_axis fixed in #2940:
pricipal_axis
pricipal axis
codespell only reports the typo in the second line, but not the first one.
In contrast, typos, another source code spell checker written in Rust, can detect typos in snake_case identifiers.
codespell and typos are designed with different philosophies, so a typo may be detected by one tool but not the other (for example, #4688). There are two possible options:
Replace codespell with typos.
Run typos alongside codespell.
I personally prefer option 2: run both typos and codespell for a few months and then decide whether it makes sense to keep both tools or drop one of them.
In contrast, typos, another source code spell checker written in Rust, can detect typos in snake_case identifiers.
This is very helpful for variable names 🙂.
I personally prefer option 2: run both typos and codespell for a few months and then decide whether it makes sense to keep both tools or drop one of them.
Activity
yvonnefroehlich commentedon Jun 21, 2026
This is very helpful for variable names 🙂.
I also prefer option 2.