WIP: Blender Kitsu: Convention Checker #124

Closed
Nick Alberelli wants to merge 8 commits from (deleted):feature/convention-checker-draft into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 35399511f8 - Show all commits

View File

@ -4,6 +4,18 @@ from bpy.ops import op_as_string
from pathlib import Path from pathlib import Path
class KITSU_PT_convention_checker_temp_ui(bpy.types.Panel):
# TODO: Remove this UI, for Testing only
bl_category = "Checker Test"
bl_label = "Convention Chekcer Test UI"
bl_space_type = "VIEW_3D"
bl_region_type = "UI"
def draw(self, context: bpy.types.Context) -> None:
layout = self.layout
layout.operator("kitsu.convention_checker")
class KITSU_OT_test_op(bpy.types.Operator): class KITSU_OT_test_op(bpy.types.Operator):
bl_idname = "kitsu.test_op" bl_idname = "kitsu.test_op"
@ -68,6 +80,7 @@ class KITSU_OT_convention_checker(bpy.types.Operator):
classes = [ classes = [
KITSU_OT_test_op, KITSU_OT_test_op,
KITSU_OT_convention_checker, KITSU_OT_convention_checker,
KITSU_PT_convention_checker_temp_ui,
] ]