From a65fb173355bca667432eab461bbbd08519ce1ae Mon Sep 17 00:00:00 2001 From: Ankit Meel Date: Fri, 12 Feb 2021 10:31:55 +0530 Subject: Cleanup: Remove trailing period in descriptions. Reduces warnings while running tests. Also fix some descriptions with strings concatenated but without a space in between. Reviewed by campbellbarton Differential Revision: https://developer.blender.org/D9655 --- precision_drawing_tools/pdt_bix.py | 2 +- precision_drawing_tools/pdt_command.py | 2 +- precision_drawing_tools/pdt_design.py | 26 +++++++++++++------------- precision_drawing_tools/pdt_etof.py | 2 +- precision_drawing_tools/pdt_library.py | 6 +++--- precision_drawing_tools/pdt_pivot_point.py | 18 +++++++++--------- precision_drawing_tools/pdt_view.py | 4 ++-- precision_drawing_tools/pdt_xall.py | 2 +- 8 files changed, 31 insertions(+), 31 deletions(-) (limited to 'precision_drawing_tools') diff --git a/precision_drawing_tools/pdt_bix.py b/precision_drawing_tools/pdt_bix.py index 286d3b2b..bf3e8ab8 100644 --- a/precision_drawing_tools/pdt_bix.py +++ b/precision_drawing_tools/pdt_bix.py @@ -109,7 +109,7 @@ def add_line_to_bisection(context): class PDT_OT_LineOnBisection(bpy.types.Operator): - """Create Bisector between 2 Selected Edges.""" + """Create Bisector between 2 Selected Edges""" bl_idname = "pdt.linetobisect" bl_label = "Add Edges Bisector" diff --git a/precision_drawing_tools/pdt_command.py b/precision_drawing_tools/pdt_command.py index 398adc6c..384e857d 100644 --- a/precision_drawing_tools/pdt_command.py +++ b/precision_drawing_tools/pdt_command.py @@ -83,7 +83,7 @@ PDT_FeatureError = pdt_exception.FeatureError class PDT_OT_CommandReRun(Operator): - """Repeat Current Displayed Command.""" + """Repeat Current Displayed Command""" bl_idname = "pdt.command_rerun" bl_label = "Re-run Current Command" diff --git a/precision_drawing_tools/pdt_design.py b/precision_drawing_tools/pdt_design.py index 6a2e3e1f..8a5e1234 100644 --- a/precision_drawing_tools/pdt_design.py +++ b/precision_drawing_tools/pdt_design.py @@ -33,7 +33,7 @@ from .pdt_msg_strings import ( class PDT_OT_PlacementAbs(Operator): - """Use Absolute, or Global Placement.""" + """Use Absolute, or Global Placement""" bl_idname = "pdt.absolute" bl_label = "Absolute Mode" @@ -114,7 +114,7 @@ class PDT_OT_PlacementAbs(Operator): class PDT_OT_PlacementDelta(Operator): - """Use Delta, or Incremental Placement.""" + """Use Delta, or Incremental Placement""" bl_idname = "pdt.delta" bl_label = "Delta Mode" @@ -211,7 +211,7 @@ class PDT_OT_PlacementDelta(Operator): class PDT_OT_PlacementDis(Operator): - """Use Directional, or Distance @ Angle Placement.""" + """Use Directional, or Distance @ Angle Placement""" bl_idname = "pdt.distance" bl_label = "Distance@Angle Mode" @@ -300,7 +300,7 @@ class PDT_OT_PlacementDis(Operator): class PDT_OT_PlacementPer(Operator): - """Use Percentage Placement.""" + """Use Percentage Placement""" bl_idname = "pdt.percent" bl_label = "Percentage Mode" @@ -357,7 +357,7 @@ class PDT_OT_PlacementPer(Operator): class PDT_OT_PlacementNormal(Operator): - """Use Normal, or Perpendicular Placement.""" + """Use Normal, or Perpendicular Placement""" bl_idname = "pdt.normal" bl_label = "Normal Mode" @@ -406,7 +406,7 @@ class PDT_OT_PlacementNormal(Operator): class PDT_OT_PlacementCen(Operator): - """Use Placement at Arc Centre.""" + """Use Placement at Arc Centre""" bl_idname = "pdt.centre" bl_label = "Centre Mode" @@ -451,7 +451,7 @@ class PDT_OT_PlacementCen(Operator): class PDT_OT_PlacementInt(Operator): - """Use Intersection, or Convergence Placement.""" + """Use Intersection, or Convergence Placement""" bl_idname = "pdt.intersect" bl_label = "Intersect Mode" @@ -497,7 +497,7 @@ class PDT_OT_PlacementInt(Operator): class PDT_OT_JoinVerts(Operator): - """Join 2 Free Vertices into an Edge.""" + """Join 2 Free Vertices into an Edge""" bl_idname = "pdt.join" bl_label = "Join 2 Vertices" @@ -531,7 +531,7 @@ class PDT_OT_JoinVerts(Operator): class PDT_OT_Fillet(Operator): - """Fillet Edges by Vertex, Set Use Verts to False for Extruded Structure.""" + """Fillet Edges by Vertex, Set Use Verts to False for Extruded Structure""" bl_idname = "pdt.fillet" bl_label = "Fillet" @@ -587,7 +587,7 @@ class PDT_OT_Fillet(Operator): class PDT_OT_Angle2(Operator): - """Measure Distance and Angle in Working Plane, Also sets Deltas.""" + """Measure Distance and Angle in Working Plane, Also sets Deltas""" bl_idname = "pdt.angle2" bl_label = "Measure 2D" @@ -614,7 +614,7 @@ class PDT_OT_Angle2(Operator): class PDT_OT_Angle3(Operator): - """Measure Distance and Angle in 3D Space.""" + """Measure Distance and Angle in 3D Space""" bl_idname = "pdt.angle3" bl_label = "Measure 3D" @@ -641,7 +641,7 @@ class PDT_OT_Angle3(Operator): class PDT_OT_Origin(Operator): - """Move Object Origin to Cursor Location.""" + """Move Object Origin to Cursor Location""" bl_idname = "pdt.origin" bl_label = "Move Origin" @@ -668,7 +668,7 @@ class PDT_OT_Origin(Operator): class PDT_OT_Taper(Operator): - """Taper Vertices at Angle in Chosen Axis Mode.""" + """Taper Vertices at Angle in Chosen Axis Mode""" bl_idname = "pdt.taper" bl_label = "Taper" diff --git a/precision_drawing_tools/pdt_etof.py b/precision_drawing_tools/pdt_etof.py index 20a00bdf..edb8ebc5 100644 --- a/precision_drawing_tools/pdt_etof.py +++ b/precision_drawing_tools/pdt_etof.py @@ -126,7 +126,7 @@ def extend_vertex(context): class PDT_OT_EdgeToFace(bpy.types.Operator): - """Extend Selected Edge to Projected Intersection with Selected Face.""" + """Extend Selected Edge to Projected Intersection with Selected Face""" bl_idname = "pdt.edge_to_face" bl_label = "Extend Edge to Face" diff --git a/precision_drawing_tools/pdt_library.py b/precision_drawing_tools/pdt_library.py index 4850481b..6ec81d69 100644 --- a/precision_drawing_tools/pdt_library.py +++ b/precision_drawing_tools/pdt_library.py @@ -30,7 +30,7 @@ from .pdt_msg_strings import PDT_ERR_NO_LIBRARY, PDT_ERR_OBJECTMODE class PDT_OT_LibShow(Operator): - """Show Library File Details.""" + """Show Library File Details""" bl_idname = "pdt.lib_show" bl_label = "Show Library Details" @@ -59,7 +59,7 @@ class PDT_OT_LibShow(Operator): class PDT_OT_Append(Operator): - """Append from Library at cursor Location.""" + """Append from Library at cursor Location""" bl_idname = "pdt.append" bl_label = "Append" @@ -141,7 +141,7 @@ class PDT_OT_Append(Operator): class PDT_OT_Link(Operator): - """Link from Library at Object's Origin.""" + """Link from Library at Object's Origin""" bl_idname = "pdt.link" bl_label = "Link" diff --git a/precision_drawing_tools/pdt_pivot_point.py b/precision_drawing_tools/pdt_pivot_point.py index 3b978b2d..357b5735 100644 --- a/precision_drawing_tools/pdt_pivot_point.py +++ b/precision_drawing_tools/pdt_pivot_point.py @@ -38,7 +38,7 @@ from .pdt_msg_strings import ( class PDT_OT_ModalDrawOperator(bpy.types.Operator): - """Show/Hide Pivot Point.""" + """Show/Hide Pivot Point""" bl_idname = "pdt.modaldraw" bl_label = "PDT Modal Draw" @@ -113,7 +113,7 @@ class PDT_OT_ModalDrawOperator(bpy.types.Operator): class PDT_OT_ViewPlaneRotate(Operator): - """Rotate Selected Vertices about Pivot Point in View Plane.""" + """Rotate Selected Vertices about Pivot Point in View Plane""" bl_idname = "pdt.viewplanerot" bl_label = "PDT View Rotate" @@ -177,7 +177,7 @@ class PDT_OT_ViewPlaneRotate(Operator): class PDT_OT_ViewPlaneScale(Operator): - """Scale Selected Vertices about Pivot Point.""" + """Scale Selected Vertices about Pivot Point""" bl_idname = "pdt.viewscale" bl_label = "PDT View Scale" @@ -246,7 +246,7 @@ class PDT_OT_ViewPlaneScale(Operator): class PDT_OT_PivotToCursor(Operator): - """Set The Pivot Point to Cursor Location.""" + """Set The Pivot Point to Cursor Location""" bl_idname = "pdt.pivotcursor" bl_label = "PDT Pivot To Cursor" @@ -274,7 +274,7 @@ class PDT_OT_PivotToCursor(Operator): class PDT_OT_CursorToPivot(Operator): - """Set The Cursor Location to Pivot Point.""" + """Set The Cursor Location to Pivot Point""" bl_idname = "pdt.cursorpivot" bl_label = "PDT Cursor To Pivot" @@ -300,7 +300,7 @@ class PDT_OT_CursorToPivot(Operator): class PDT_OT_PivotSelected(Operator): - """Set Pivot Point to Selected Geometry.""" + """Set Pivot Point to Selected Geometry""" bl_idname = "pdt.pivotselected" bl_label = "PDT Pivot to Selected" @@ -361,7 +361,7 @@ class PDT_OT_PivotSelected(Operator): class PDT_OT_PivotOrigin(Operator): - """Set Pivot Point at Object Origin.""" + """Set Pivot Point at Object Origin""" bl_idname = "pdt.pivotorigin" bl_label = "PDT Pivot to Object Origin" @@ -410,7 +410,7 @@ class PDT_OT_PivotOrigin(Operator): class PDT_OT_PivotWrite(Operator): - """Write Pivot Point Location to Object.""" + """Write Pivot Point Location to Object""" bl_idname = "pdt.pivotwrite" bl_label = "PDT Write PP to Object?" @@ -467,7 +467,7 @@ class PDT_OT_PivotWrite(Operator): class PDT_OT_PivotRead(Operator): - """Read Pivot Point Location from Object.""" + """Read Pivot Point Location from Object""" bl_idname = "pdt.pivotread" bl_label = "PDT Read PP" diff --git a/precision_drawing_tools/pdt_view.py b/precision_drawing_tools/pdt_view.py index eaa2e72e..352620ff 100644 --- a/precision_drawing_tools/pdt_view.py +++ b/precision_drawing_tools/pdt_view.py @@ -211,7 +211,7 @@ class PDT_OT_ViewIso(Operator): bl_idname = "pdt.viewiso" bl_label = "Isometric View" bl_options = {"REGISTER", "UNDO"} - bl_description = "Isometric View." + bl_description = "Isometric View" def execute(self, context): """Set Isometric View. @@ -238,7 +238,7 @@ class PDT_OT_Reset3DView(Operator): bl_idname = "pdt.reset_3d_view" bl_label = "Reset 3D View" bl_options = {"REGISTER", "UNDO"} - bl_description = "Reset 3D View to Blender Defaults." + bl_description = "Reset 3D View to Blender Defaults" def execute(self, context): """Reset 3D View to Blender Defaults. diff --git a/precision_drawing_tools/pdt_xall.py b/precision_drawing_tools/pdt_xall.py index 92e1eb44..97aae9c5 100644 --- a/precision_drawing_tools/pdt_xall.py +++ b/precision_drawing_tools/pdt_xall.py @@ -245,7 +245,7 @@ def intersect_all(context): return class PDT_OT_IntersectAllEdges(bpy.types.Operator): - """Cut Selected Edges at All Intersections.""" + """Cut Selected Edges at All Intersections""" bl_idname = "pdt.intersectall" bl_label = "Intersect All Edges" -- cgit v1.2.3