Skip to content

Commit e55884b

Browse files
authored
Fix codespell exceptions (CI) (#4165)
* Fix typos * Fix codespell exceptions
1 parent 6a3c077 commit e55884b

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

.github/workflows/checkCron.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,34 @@ jobs:
4040
- name: Check for spelling errors
4141
run: |
4242
printf "[codespell]\nenable-colors=\n" >> .codespellrc
43+
codespell -L additionals,inport ./Modelica/package.mo
44+
codespell -L bu,nin ./Modelica/Clocked/RealSignals/Periodic/StateSpace.mo
4345
codespell -L mesures ./Modelica/Constants.mo
4446
codespell -L nin,inport,fo ./Modelica/StateGraph.mo
4547
codespell -L addd,nd,nin ./Modelica/Blocks/Continuous.mo
4648
codespell -L utput ./Modelica/Electrical/Digital.mo
4749
codespell -L ser ./Modelica/Electrical/Polyphase/Examples/PolyphaseRectifier.mo
4850
codespell -L ser ./Modelica/Electrical/Polyphase/Examples/Utilities/PolyphaseRectifierData.mo
4951
codespell -L pres ./Modelica/Fluid/Dissipation.mo
50-
codespell -L fo,alo,als,cacl,ba,nd,GeS,CaF,InH ./Modelica/Media/IdealGases/package.mo
51-
codespell -L fo,alo,als,cacl,ba,nd,alow ./Modelica/Media/IdealGases/Common/SingleGasesData.mo
52+
codespell -L fo,alo,als,cacl,ba,nd,ges,caf,inh ./Modelica/Media/IdealGases/package.mo
53+
codespell -L fo,alo,als,cacl,ba,nd,alow,ges,caf,inh ./Modelica/Media/IdealGases/Common/SingleGasesData.mo
5254
codespell -L alow ./Modelica/Media/IdealGases/Common/Functions.mo
5355
codespell -L alow ./Modelica/Media/IdealGases/Common/package.mo
54-
codespell -L dout ./Modelica/Media/Water/IF97_Utilities.mo
56+
codespell -L delt ./Modelica/Media/Air/ReferenceAir.mo
57+
codespell -L scrit,delt ./Modelica/Media/R134a.mo
58+
codespell -L dout,scrit,delt ./Modelica/Media/Water/IF97_Utilities.mo
5559
codespell -L archiv ./Modelica/Electrical/Polyphase/UsersGuide/References.mo
60+
codespell -L additionals,vie ./Modelica/Electrical/Spice3.mo
61+
codespell -L vai ./Modelica/Electrical/Machines/BasicMachines/Components/PartialAirGapDC.mo
5662
codespell -L mot ./Modelica/Electrical/Machines/Examples/ControlledDCDrives
5763
codespell -L singal ./Modelica/Electrical/Analog/UsersGuide/References.mo
5864
codespell -L numer ./Modelica/Math/package.mo
59-
codespell -L inport,nd,wit ./Modelica/Mechanics/Rotational
65+
codespell -L inport,nd,supportt,wit ./Modelica/Mechanics/Rotational
6066
codespell -L wit ./Modelica/Mechanics/Translational
6167
codespell -L ist ./Modelica/Mechanics/MultiBody
6268
codespell -L klick ./Modelica/Magnetic/FluxTubes/UsersGuide/Contact.mo
69+
codespell -L nife ./Modelica/Magnetic/FluxTubes/Material/SoftMagnetic/NickelIron
6370
codespell -L technik ./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo
64-
codespell --skip ./ObsoleteModelica4.mo,./Modelica/Constants.mo,./Modelica/Blocks/Continuous.mo,./Modelica/StateGraph.mo,./Modelica/Electrical/Digital.mo,./Modelica/Electrical/Polyphase/Examples/PolyphaseRectifier.mo,./Modelica/Electrical/Polyphase/Examples/Utilities/PolyphaseRectifierData.mo,./Modelica/Fluid/Dissipation.mo,./Modelica/Resources,./Modelica/Media/IdealGases/package.mo,./Modelica/Media/IdealGases/Common/SingleGasesData.mo,./Modelica/Media/IdealGases/Common/Functions.mo,./Modelica/Media/IdealGases/Common/package.mo,./Modelica/Media/Water/IF97_Utilities.mo,./Modelica/Electrical/Polyphase/UsersGuide/References.mo,./Modelica/Electrical/Machines/Examples/ControlledDCDrives,./Modelica/Electrical/Analog/UsersGuide/References.mo,./Modelica/Math/package.mo,./Modelica/Mechanics/Rotational,./Modelica/Mechanics/Translational,./Modelica/Mechanics/MultiBody,./Modelica/Magnetic/FluxTubes/UsersGuide/Contact.mo,./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo,./.CI,./.github,./.git,*.png -L nin,inport,te,sinc,vie,commutating
71+
codespell -L supportt ./ModelicaTest/Rotational.mo
72+
codespell -L lamda,inport ./ModelicaTestConversion4.mo
73+
codespell --skip ./ObsoleteModelica4.mo,./Modelica/package.mo,./Modelica/Clocked/RealSignals/Periodic/StateSpace.mo,./Modelica/Constants.mo,./Modelica/Blocks/Continuous.mo,./Modelica/StateGraph.mo,./Modelica/Electrical/Digital.mo,./Modelica/Electrical/Polyphase/Examples/PolyphaseRectifier.mo,./Modelica/Electrical/Polyphase/Examples/Utilities/PolyphaseRectifierData.mo,./Modelica/Fluid/Dissipation.mo,./Modelica/Resources,./Modelica/Media/IdealGases/package.mo,./Modelica/Media/IdealGases/Common/SingleGasesData.mo,./Modelica/Media/IdealGases/Common/Functions.mo,./Modelica/Media/IdealGases/Common/package.mo,./Modelica/Media/Air/ReferenceAir.mo,./Modelica/Media/R134a.mo,./Modelica/Media/Water/IF97_Utilities.mo,./Modelica/Electrical/Polyphase/UsersGuide/References.mo,./Modelica/Electrical/Spice3.mo,./Modelica/Electrical/Machines/BasicMachines/Components/PartialAirGapDC.mo,./Modelica/Electrical/Machines/Examples/ControlledDCDrives,./Modelica/Electrical/Analog/UsersGuide/References.mo,./Modelica/Math/package.mo,./Modelica/Mechanics/Rotational,./Modelica/Mechanics/Translational,./Modelica/Mechanics/MultiBody,./Modelica/Magnetic/FluxTubes/UsersGuide/Contact.mo,./Modelica/Magnetic/FluxTubes/Material/SoftMagnetic/NickelIron,./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo,./ModelicaTest/Rotational.mo,./ModelicaTestConversion4.mo,./.CI,./.github,./.git,*.png -L nin,inport,te,sinc,vie,commutating

Modelica/Magnetic/FundamentalWave/UsersGuide/Polyphase.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sine waves with an angular displacement of
1616
1717
<p>
1818
Electrical three-phase machines have (usually) symmetrical three-phase windings which
19-
excite spatial magnetic potential with a spacial displacement of
19+
excite spatial magnetic potential with a spatial displacement of
2020
<img src=\"modelica://Modelica/Resources/Images/Magnetic/FundamentalWave/UsersGuide/Polyphase/2pi_3.png\"/>
2121
- with respect to the fundamental wave,
2222
see [<a href=\"modelica://Modelica.Magnetic.FundamentalWave.UsersGuide.References\">Laughton02</a>].

ModelicaTest/Electrical/Machines.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ Simulating another machine (with different parameters), the machine parameter re
523523
parameter Modelica.Units.SI.Time TiI
524524
"Integral time constant of current controller";
525525
parameter Modelica.Units.SI.Time Tsub "Substitute time constant";
526-
parameter Real kpw "Porportional gain of speed controller";
526+
parameter Real kpw "Proportional gain of speed controller";
527527
parameter Modelica.Units.SI.Time Tiw
528528
"Integral time constant of speed controller";
529529
annotation(defaultComponentPrefixes="parameter", defaultComponentName="controllerData",

ModelicaTest/Resources/Scripts/Dymola/pressureLoss/channel/dp_internalFlowOverall_DPMFLOW.mos

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// Generated by Thorben Vahlenkamp
66
// 03-09-2009
7-
// last change: 04-09-2009
7+
// last change: 02-07-2023
88
// XRG Simulation GmbH
99

1010
currentDirectory = Modelica.Utilities.System.getWorkDirectory();
@@ -29,7 +29,7 @@ createPlot(id = 1,
2929
"M_FLOW_1[4]",
3030
"M_FLOW_1[5]"
3131
},
32-
heading = "(Smooth) Channel: Geometry dependence (identic hydraulic diameter)",
32+
heading = "(Smooth) Channel: Geometry dependence (identical hydraulic diameter)",
3333
range = {0, 1e3, 1e2, 0},
3434
autoscale = false,
3535
autoerase = false,
@@ -62,7 +62,7 @@ createPlot(id = 2,
6262
"velocity_1[4]",
6363
"velocity_1[5]"
6464
},
65-
heading = "(Smooth) Channel: Geometry dependence (identic hydraulic diameter)",
65+
heading = "(Smooth) Channel: Geometry dependence (identical hydraulic diameter)",
6666
range = {0, 1e3, 1e2, 0},
6767
autoscale = true,
6868
autoerase = false,

0 commit comments

Comments
 (0)