Cleanup: pep8

This commit is contained in:
2019-07-28 17:45:55 +10:00
parent 79ce2054d4
commit ae19f68d45
6 changed files with 10 additions and 6 deletions

View File

@@ -18,7 +18,8 @@
# <pep8-80 compliant>
def url_prefill_from_blender(addon_info = None):
def url_prefill_from_blender(addon_info=None):
import bpy
import bgl
import struct

View File

@@ -655,7 +655,7 @@ class Gizmo(StructRNA):
return (batch, shader)
# Dummy class to keep the reference in `bpy_types_dict` and avoid
# Dummy class to keep the reference in `bpy_types_dict` and avoid
# erros like: "TypeError: expected GizmoGroup subclass of class ..."
class GizmoGroup(StructRNA):
__slots__ = ()

View File

@@ -1152,6 +1152,7 @@ class CLIP_PT_tools_mask_transforms(MASK_PT_transforms, Panel):
bl_region_type = 'TOOLS'
bl_category = "Mask"
class CLIP_PT_tools_mask_tools(MASK_PT_tools, Panel):
bl_space_type = 'CLIP_EDITOR'
bl_region_type = 'TOOLS'
@@ -1426,6 +1427,7 @@ class CLIP_MT_select_grouped(Menu):
layout.operator_enum("clip.select_grouped", "group")
class CLIP_MT_mask_handle_type_menu(Menu):
bl_label = "Set Handle Type"
@@ -1434,6 +1436,7 @@ class CLIP_MT_mask_handle_type_menu(Menu):
layout.operator_enum("mask.handle_type_set", "type")
class CLIP_MT_tracking_context_menu(Menu):
bl_label = "Context Menu"
@@ -1512,6 +1515,7 @@ class CLIP_MT_tracking_context_menu(Menu):
layout.operator("mask.delete")
class CLIP_PT_camera_presets(PresetPanel, Panel):
"""Predefined tracking camera intrinsics"""
bl_label = "Camera Presets"

View File

@@ -173,9 +173,9 @@ class NODE_HT_header(Header):
# Backdrop
if is_compositor:
row=layout.row(align=True)
row = layout.row(align=True)
row.prop(snode, "show_backdrop", toggle=True)
sub=row.row(align=True)
sub = row.row(align=True)
sub.active = snode.show_backdrop
sub.prop(snode, "backdrop_channels", icon_only=True, text="", expand=True)

View File

@@ -1348,7 +1348,6 @@ class SEQUENCER_PT_time(SequencerButtonsPanel, Panel):
frame_offset_start = strip.frame_offset_start
frame_offset_end = strip.frame_offset_end
length_list = (
str(frame_start),
str(frame_final_end),