-
-
Notifications
You must be signed in to change notification settings - Fork 80
Fix typos and add exceptions to .typos.toml #1310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Corrects spelling errors throughout the codebase: - casues → causes - vertexes → vertices (multiple instances) - Hass → Haas (author name) - lenth → length - ine → one - elminated → eliminated - teh → the - Lke → Like - sumary → summary (variable names) - additonal → additional Adds exceptions for legitimate scientific terms: - Pase (phosphatase enzyme suffix) - Ba (part of BaF3 cell line name) Fixes failing typos CI check. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
@@ -232,7 +232,7 @@ let | |||
J.nzval[3:3:(end - 4)] .= p[3] | |||
|
|||
# Non-spatial | |||
for i in 1:1:Int64(lenth(u) / 2 - 1) | |||
for i in 1:1:Int64(length(u) / 2 - 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting this wasn't giving test failures before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very weird. I guess this code was never getting call?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, spatial_brusselator_jac_sparse
doesn't seem to be used at all, only the dense Jacobian is used in the test script 😅
Summary
Fixes all spelling errors identified by the typos CI check and adds appropriate exceptions for legitimate scientific terms.
Changes Made
Spelling Corrections
casues
→causes
(in test comment)vertexes
→vertices
(multiple files, proper plural form)Hass
→Haas
(author name in bibliography)lenth
→length
(Julia function name)ine
→one
(comment text)elminated
→eliminated
(documentation)teh
→the
(documentation)Lke
→Like
(documentation)sumary
→summary
(variable names in documentation examples)additonal
→additional
(documentation)Exception Additions to .typos.toml
Pase
: Legitimate biochemical term for phosphatase enzymes (e.g., KKPase, KPase)Ba
: Part of legitimate BaF3 cell line name in scientific data filesTest Plan
typos
command - passes without errorsFiles Modified
.typos.toml
- Added exceptions for scientific termsdocs/
- Fixed typos in documentationsrc/
- Fixed typos in source code commentstest/
- Fixed typos in test filesResolves the failing typos CI check from https://github.com/SciML/Catalyst.jl/actions/runs/16664888691/job/47169097692?pr=1306
🤖 Generated with Claude Code