cleanup: pep8

also remove empty class parenthesis
This commit is contained in:
Campbell Barton
2015-01-29 15:35:06 +11:00
parent d434815ff7
commit 7095f47665
67 changed files with 141 additions and 119 deletions

View File

@@ -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'