Cleanup: double quotes for non-enum strings

Also use back-ticks for code-references in comments.
This commit is contained in:
Campbell Barton
2023-04-18 10:42:00 +10:00
parent 2f743b0a92
commit c4c1cc7cd3
33 changed files with 88 additions and 86 deletions

View File

@@ -19,7 +19,7 @@ class MyCustomTree(NodeTree):
# Custom socket type
class MyCustomSocket(NodeSocket):
# Description string
'''Custom node socket type'''
"""Custom node socket type"""
# Optional identifier string. If not explicitly defined, the python class name is used.
bl_idname = 'CustomSocketType'
# Label for nice name display

View File

@@ -1,7 +1,7 @@
# This script defines functions to be used directly in driver expressions to
# extend the built-in set of python functions.
#
# This can be executed on manually or set to 'Register' to
# This can be executed on manually or set to "Register" to
# initialize the functions on file load.

View File

@@ -11,7 +11,7 @@ class MyPanel(bpy.types.Panel):
bl_idname = "SCENE_PT_list_demo"
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_category = 'My Category'
bl_category = "My Category"
def draw(self, context):
layout = self.layout