Fix typos in comments, docstrings, and error messages#1239
Conversation
- robust.py: continous -> continuous (2 occurrences) - timeplot.py: tranpose -> transpose - nlsys.py: inpout -> input/output, connecton -> connection - optimal.py: covert -> convert - phaseplot.py: Containter -> Container - statesp.py: lamba -> lambda - flatsys/bspline.py: convertable -> convertible Co-Authored-By: Claude <noreply@anthropic.com>
|
@maxtaran2010 Can you update tests to use the spelling-corrected strings? |
slivingston
left a comment
There was a problem hiding this comment.
Thanks! Tasks before this can be merged:
-
Clarify authorship. You marked the commit with co-authored-by Claude, but these changes are easy to discover without Claude. Also, the PR description refers to codespell (I assume https://github.com/codespell-project/codespell). Can you confirm that Claude should be cited here instead of codespell? If you used codespell, please cite it in the commit message.
-
One of the assumed misprints is not one (cf. my in-line comment).
-
Please update tests.
| iosys_repr(sys, format='info'), width=78, | ||
| initial_indent=" * ", subsequent_indent=" ")) + "\n" | ||
|
|
||
| # Build a list of input, output, and inpout signals |
There was a problem hiding this comment.
This is not a misprint. Please look at the context.
|
@maxtaran2010 Can you also find typos in other parts of the sourcetree? I did a quick search and noticed "continous" and "convertable" also appear in test files. Try doing this with |
Fix several typos found by codespell in source files.
Changes:
control/robust.py:continous->continuous(2 occurrences in TODO comments)control/timeplot.py:tranpose->transpose(comment)control/nlsys.py:inpout->input/output(comment),connecton->connection(comment)control/optimal.py:covert->convert(comment)control/phaseplot.py:Containter->Container(docstring)control/statesp.py:lamba->lambda(comment)control/flatsys/bspline.py:convertable->convertible(error message string)