Fix various trailing newlines, typos and grammar
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user