Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Sep 23, 2024
1 parent 76a1428 commit 085f898
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/fake_bpy_module/generator/writers.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ def _write_function_code(self, func_node: FunctionNode) -> None:
gen_types = ""
if "generic-types" in func_node.attributes:
gen_types = f"[{func_node.attributes['generic-types']}]"
print(f"@@@@ {gen_types} : {func_name}")
wt.add(f"def {func_name}{gen_types}(")

start_kwarg = False
Expand Down Expand Up @@ -297,7 +296,6 @@ def _write_class_code(self, class_node: ClassNode) -> None:
gen_types = ""
if "generic-types" in class_node.attributes:
gen_types = f"[{class_node.attributes['generic-types']}]"
print(f"@@@@ {gen_types} : {name_node.astext()}")

if base_class_list_node.empty():
wt.addln(f"class {name_node.astext()}{gen_types}:")
Expand Down Expand Up @@ -383,7 +381,6 @@ def _write_class_code(self, class_node: ClassNode) -> None:
gen_types = ""
if "generic-types" in method_node.attributes:
gen_types = f"[{method_node.attributes['generic-types']}]"
print(f"@@@@ {gen_types} : {name_node.astext()}")
if func_type in ("function", "method"):
if not arg_list_node.empty():
wt.add(f"def {name_node.astext()}{gen_types}(self, ")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import bpy.typing
import module_1
import module_1.submodule_1


def function_1(
arg_1: int, arg_2: module_1.ClassA, arg_3: bpy.typing.Enum1
) -> module_1.submodule_1.BaseClass1:
Expand Down

0 comments on commit 085f898

Please sign in to comment.