Skip to content

Commit

Permalink
Cleanup: quiet warnings with descriptions ending with a '.'
Browse files Browse the repository at this point in the history
  • Loading branch information
ideasman42 committed Feb 28, 2023
1 parent 84ad708 commit 768e04b
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion mesh_tissue/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class tissuePreferences(bpy.types.AddonPreferences):

print_stats : IntProperty(
name="Print Stats",
description="Print in the console all details about the computing time.",
description="Print in the console all details about the computing time",
default=1,
min=0,
max=4
Expand Down
4 changes: 2 additions & 2 deletions mesh_tissue/curves_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class tissue_to_curve_prop(PropertyGroup):
)
bool_lock : BoolProperty(
name="Lock",
description="Prevent automatic update on settings changes or if other objects have it in the hierarchy.",
description="Prevent automatic update on settings changes or if other objects have it in the hierarchy",
default=False,
update = anim_curve_active
)
Expand All @@ -77,7 +77,7 @@ class tissue_to_curve_prop(PropertyGroup):
)
bool_run : BoolProperty(
name="Animatable Curve",
description="Automatically recompute the conversion when the frame is changed.",
description="Automatically recompute the conversion when the frame is changed",
default = False
)
use_modifiers : BoolProperty(
Expand Down
2 changes: 1 addition & 1 deletion mesh_tissue/tessellate_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,7 @@ class tissue_update_tessellate_deps(Operator):
bl_idname = "object.tissue_update_tessellate_deps"
bl_label = "Tissue Refresh"
bl_description = ("Fast update the tessellated mesh according to base and "
"component changes.")
"component changes")
bl_options = {'REGISTER', 'UNDO'}

go = False
Expand Down
2 changes: 1 addition & 1 deletion mesh_tissue/tissue_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def set_tessellate_handler(self, context):
class tissue_prop(PropertyGroup):
bool_lock : BoolProperty(
name="Lock",
description="Prevent automatic update on settings changes or if other objects have it in the hierarchy.",
description="Prevent automatic update on settings changes or if other objects have it in the hierarchy",
default=False
)
bool_dependencies : BoolProperty(
Expand Down
24 changes: 14 additions & 10 deletions mesh_tissue/weight_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,8 +917,10 @@ def execute(self, context):
class edges_deformation(Operator):
bl_idname = "object.edges_deformation"
bl_label = "Edges Deformation"
bl_description = ("Compute Weight based on the deformation of edges"+
"according to visible modifiers.")
bl_description = (
"Compute Weight based on the deformation of edges "
"according to visible modifiers"
)
bl_options = {'REGISTER', 'UNDO'}

bounds : EnumProperty(
Expand Down Expand Up @@ -1061,8 +1063,10 @@ def execute(self, context):
class edges_bending(Operator):
bl_idname = "object.edges_bending"
bl_label = "Edges Bending"
bl_description = ("Compute Weight based on the bending of edges"+
"according to visible modifiers.")
bl_description = (
"Compute Weight based on the bending of edges"
"according to visible modifiers"
)
bl_options = {'REGISTER', 'UNDO'}

bounds : EnumProperty(
Expand Down Expand Up @@ -2128,7 +2132,7 @@ class tissue_weight_contour_curves_pattern(Operator):

spiralized: BoolProperty(
name='Spiralized', default=False,
description='Create a Spiral Contour. Works better with dense meshes.'
description='Create a Spiral Contour. Works better with dense meshes'
)
spiral_axis: FloatVectorProperty(
name="Spiral Axis", default=(0,0,1),
Expand Down Expand Up @@ -2392,7 +2396,7 @@ class vertex_colors_to_vertex_groups(Operator):
bl_idname = "object.vertex_colors_to_vertex_groups"
bl_label = "Vertex Color"
bl_options = {'REGISTER', 'UNDO'}
bl_description = ("Convert the active Vertex Color into a Vertex Group.")
bl_description = ("Convert the active Vertex Color into a Vertex Group")

red : BoolProperty(
name="red channel", default=False, description="convert red channel")
Expand Down Expand Up @@ -2486,7 +2490,7 @@ class vertex_group_to_vertex_colors(Operator):
bl_idname = "object.vertex_group_to_vertex_colors"
bl_label = "Vertex Group"
bl_options = {'REGISTER', 'UNDO'}
bl_description = ("Convert the active Vertex Group into a Vertex Color.")
bl_description = ("Convert the active Vertex Group into a Vertex Color")

channel : EnumProperty(
items=[('BLUE', 'Blue Channel', 'Convert to Blue Channel'),
Expand Down Expand Up @@ -2579,7 +2583,7 @@ class vertex_group_to_uv(Operator):
bl_idname = "object.vertex_group_to_uv"
bl_label = "Vertex Group"
bl_options = {'REGISTER', 'UNDO'}
bl_description = ("Combine two Vertex Groups as UV Map Layer.")
bl_description = ("Combine two Vertex Groups as UV Map Layer")

vertex_group_u : StringProperty(
name="U", default='',
Expand Down Expand Up @@ -2667,7 +2671,7 @@ class curvature_to_vertex_groups(Operator):
bl_label = "Curvature"
bl_options = {'REGISTER', 'UNDO'}
bl_description = ("Generate a Vertex Group based on the curvature of the"
"mesh. Is based on Dirty Vertex Color.")
"mesh. Is based on Dirty Vertex Color")

invert : BoolProperty(
name="invert", default=False, description="invert values")
Expand Down Expand Up @@ -2714,7 +2718,7 @@ class face_area_to_vertex_groups(Operator):
bl_label = "Area"
bl_options = {'REGISTER', 'UNDO'}
bl_description = ("Generate a Vertex Group based on the area of individual"
"faces.")
"faces")

invert : BoolProperty(
name="invert", default=False, description="invert values")
Expand Down
2 changes: 1 addition & 1 deletion power_sequencer/operators/trim_to_surrounding_cuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class POWER_SEQUENCER_OT_trim_to_surrounding_cuts(bpy.types.Operator):
little time offset. It's useful after you removed some bad audio but you need to keep some
video around for a transition.
By default, the tool leaves a 0.2 seconds margin on either side of the trim.
By default, the tool leaves a 0.2 seconds margin on either side of the trim
"""

doc = {
Expand Down
2 changes: 1 addition & 1 deletion power_sequencer/operators/value_offset.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class POWER_SEQUENCER_OT_value_offset(bpy.types.Operator):
"""Instantly offset selected strips, either using frames or seconds. Allows to
nudge the selection quickly, using keyboard shortcuts.
nudge the selection quickly, using keyboard shortcuts
"""

doc = {
Expand Down

0 comments on commit 768e04b

Please sign in to comment.