Add ty to check for missing symbols and other simple errors

This commit is contained in:
Andrej730
2026-03-20 15:35:53 +05:00
parent 30551cb288
commit 26280d24fe
41 changed files with 350 additions and 70 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ class SvIfcBMeshToIfcRepr(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.help
blender_object=obj,
geometry=obj.data,
context=context,
should_run_listeners=False,
should_run_listeners=False, # ty:ignore[unknown-argument]
)
if not representation:
raise Exception("Couldn't create representation. Possibly wrong context.")
+1 -1
View File
@@ -143,7 +143,7 @@ class SvIfcSverchokToIfcRepr(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.h
for item in obj:
representation = ifcopenshell.api.geometry.add_mesh_representation(
self.file,
should_run_listeners=False,
should_run_listeners=False, # ty:ignore[unknown-argument]
context=self.context,
vertices=[list(map(tuple, item[0]))],
edges=[list(map(tuple, item[1]))],