Closed spaette closed 1 year ago
those do look like typos, thanks for doing this analysis.
@ChrisRackauckas
cf: CONTRIBUTING.md
I don't presently have the formatter on my machine.
So I place this shell script here which is authorised for use and/or modification by the repo Members.
$ cat typos.sh
sed -i "s/Connnect/Connect/g" ModelingToolkit.jl/test/runtests.jl
sed -i "s/Depdendency/Dependency/g" ModelingToolkit.jl/test/runtests.jl
sed -i "s/Whenver/Whenever/g" ModelingToolkit.jl/src/systems/model_parsing.jl
sed -i "s/accecpt/accept/g" ModelingToolkit.jl/src/structural_transformation/partial_state_selection.jl
sed -i "s/arument/argument/g" ModelingToolkit.jl/docs/src/basics/FAQ.md
sed -i "s/commiting/committing/g" ModelingToolkit.jl/CONTRIBUTING.md
sed -i "s/comulative/cumulative/g" ModelingToolkit.jl/src/systems/diffeqs/odesystem.jl
sed -i "s/continous/continuous/g" ModelingToolkit.jl/test/clock.jl
sed -i "s/converte /convert /g" ModelingToolkit.jl/src/systems/diffeqs/sdesystem.jl
sed -i "s/coulmns/columns/g" ModelingToolkit.jl/src/structural_transformation/bareiss.jl
sed -i "s/delted/deleted/g" ModelingToolkit.jl/src/bipartite_graph.jl
sed -i "s/depency/dependency/g" ModelingToolkit.jl/src/ModelingToolkit.jl
sed -i "s/derivaitves/derivatives/g" ModelingToolkit.jl/src/systems/alias_elimination.jl
sed -i "s/desination/destination/g" ModelingToolkit.jl/src/bipartite_graph.jl
sed -i "s/determinent/determinant/g" ModelingToolkit.jl/test/structural_transformation/bareiss.jl
sed -i "s/distrubance/disturbance/g" ModelingToolkit.jl/src/inputoutput.jl
sed -i "s/elimate/eliminate/g" ModelingToolkit.jl/src/systems/sparsematrixclil.jl
sed -i "s/failled/failed/g" ModelingToolkit.jl/src/structural_transformation/symbolics_tearing.jl
sed -i "s/intergers/integers/g" ModelingToolkit.jl/src/structural_transformation/partial_state_selection.jl
sed -i "s/maching/matching/g" ModelingToolkit.jl/src/bipartite_graph.jl
sed -i "s/namepsace /namespace /g" ModelingToolkit.jl/src/inputoutput.jl
sed -i "s/namepsaced /namespaced /g" ModelingToolkit.jl/src/inputoutput.jl
sed -i "s/namspace/namespace/g" ModelingToolkit.jl/src/inputoutput.jl
sed -i "s/permuation/permutation/g" ModelingToolkit.jl/src/systems/diffeqs/modelingtoolkitize.jl
sed -i "s/perserving/preserving/g" ModelingToolkit.jl/src/systems/alias_elimination.jl
sed -i "s/representating/representing/g" ModelingToolkit.jl/src/systems/jumps/jumpsystem.jl
sed -i "s/simplicitly/simplicity/g" ModelingToolkit.jl/src/structural_transformation/bareiss.jl
sed -i "s/simplifed/simplified/g" ModelingToolkit.jl/src/structural_transformation/symbolics_tearing.jl
sed -i "s/substition/substitution/g" ModelingToolkit.jl/src/systems/jumps/jumpsystem.jl
sed -i "s/varibales/variables/g" ModelingToolkit.jl/src/variables.jl
sed -i "s/varible/variable/g" ModelingToolkit.jl/src/systems/diffeqs/sdesystem.jl
sed -i "s/varible/variable/g" ModelingToolkit.jl/test/lowering_solving.jl
$
@ChrisRackauckas
The content of CONTRIBUTING.md regarding use of the formatter might be elaborated upon.
A PR has been opened for this ticket today.
Thanks!
@ChrisRackauckas
cf: CONTRIBUTING.md
The relevance of running the command before committing on this PR was not apparent.
using JuliaFormatter, ModelingToolkit; format(joinpath(dirname(pathof(ModelingToolkit)), ".."))
Yes, it's in https://github.com/SciML/SciMLStyle#juliaformatter and https://github.com/SciML/ColPrac. We should probably reference both in a contributing file.
I presume these would be the correct replacement strings.
Please infom if any of the grepped for strings are not factually typos.
Connect Dependency Whenever accept argument committing cumulative continuous convert columns deleted dependency derivatives destination determinant disturbance eliminate failed integers matching namespace namespaced namespace permutation preserving representing simplicity simplified substitution variables variable