Fix various trailing newlines, typos and grammar

This commit is contained in:
luzpaz
2023-02-04 12:19:56 +00:00
committed by Chris Hennes
parent 2880a5ca2a
commit a38b2ffbf7
6 changed files with 12 additions and 12 deletions

View File

@@ -52,7 +52,7 @@ translate = FreeCAD.Qt.translate
class InstallationMethod(IntEnum):
"""For packages installed from a git repository, in most cases it is possible to either use git
or to download a zip archive of the addon. For a local repository, a direct copy may be used
instead. If "ANY" is given, the the internal code decides which to use."""
instead. If "ANY" is given, the internal code decides which to use."""
GIT = auto()
COPY = auto()

View File

@@ -1263,7 +1263,7 @@ class Writer(object):
self._equation(b, "Convection", equation.Convection)
if equation.MagneticInduction is True:
self._equation(b, "Magnetic Induction", equation.MagneticInduction)
#-------------------------------------------------------------------------------------------
# Flux

View File

@@ -5,4 +5,4 @@ https://www.engineersedge.com/thread_strength/internal_screw_threads_chart.htm
https://www.engineersedge.com/hardware/metric-external-thread-sizes1.htm
https://www.engineersedge.com/hardware/metric-external-thread-sizes2.htm
dMinorMin = dPitchMin - (dMajorMax - dPitchMax) * 0.948
dMinorMin = dPitchMin - (dMajorMax - dPitchMax) * 0.948

View File

@@ -443,7 +443,7 @@ void TaskLeaderLine::removeFeature()
if (Gui::Command::hasPendingCommand()) {
std::vector<std::string> undos = Gui::Application::Instance->activeDocument()->getUndoVector();
Gui::Application::Instance->activeDocument()->undo(1);
}
}
}
}

View File

@@ -69,7 +69,7 @@ class DrawViewDetailTest(unittest.TestCase):
loop.exec_()
edges = detail.getVisibleEdges()
self.assertEqual(len(edges), 4, "DrawViewDetail has wrong number of edges")
self.assertTrue("Up-to-date" in detail.State, "DrawViewDetail is not Up-to-date")