cleanup: pep8
also remove empty class parenthesis
This commit is contained in:
@@ -1043,7 +1043,8 @@ class IMAGE_PT_tools_mask(MASK_PT_tools, Panel):
|
||||
|
||||
# --- end mask ---
|
||||
|
||||
class ImageScopesPanel():
|
||||
|
||||
class ImageScopesPanel:
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
sima = context.space_data
|
||||
@@ -1057,6 +1058,7 @@ class ImageScopesPanel():
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
class IMAGE_PT_view_histogram(ImageScopesPanel, Panel):
|
||||
bl_space_type = 'IMAGE_EDITOR'
|
||||
bl_region_type = 'TOOLS'
|
||||
@@ -1150,6 +1152,7 @@ class IMAGE_PT_grease_pencil(GreasePencilDataPanel, Panel):
|
||||
|
||||
# NOTE: this is just a wrapper around the generic GP Panel
|
||||
|
||||
|
||||
# Grease Pencil drawing tools
|
||||
class IMAGE_PT_tools_grease_pencil_draw(GreasePencilDrawingToolsPanel, Panel):
|
||||
bl_space_type = 'IMAGE_EDITOR'
|
||||
|
Reference in New Issue
Block a user