Skip to content

Commit 588f365

Browse files
committed
Remove unused ty ignores - issue is resolved upsteam in stubs
1 parent fa8770c commit 588f365

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/bonsai/bonsai/bim/module/aggregate/decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def uninstall(cls):
101101
cls.is_installed = False
102102

103103
def dotted_line_shader(self):
104-
vert_out = gpu.types.GPUStageInterfaceInfo("my_interface") # ty:ignore[too-many-positional-arguments]
104+
vert_out = gpu.types.GPUStageInterfaceInfo("my_interface")
105105
vert_out.smooth("FLOAT", "v_ArcLength")
106106

107107
shader_info = gpu.types.GPUShaderCreateInfo()

src/bonsai/bonsai/bim/module/nest/decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def uninstall(cls):
101101
cls.is_installed = False
102102

103103
def dotted_line_shader(self):
104-
vert_out = gpu.types.GPUStageInterfaceInfo("my_interface") # ty:ignore[too-many-positional-arguments]
104+
vert_out = gpu.types.GPUStageInterfaceInfo("my_interface")
105105
vert_out.smooth("FLOAT", "v_ArcLength")
106106

107107
shader_info = gpu.types.GPUShaderCreateInfo()

src/bonsai/bonsai/bim/module/structural/shader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_linear_shader(
8383
PARALLEL DISTRIBUTED FORCE,
8484
DISTRIBUTED MOMENT,
8585
"""
86-
vert_out = gpu.types.GPUStageInterfaceInfo("my_interface") # ty:ignore[too-many-positional-arguments]
86+
vert_out = gpu.types.GPUStageInterfaceInfo("my_interface")
8787
vert_out.smooth("VEC3", "forces")
8888
vert_out.smooth("VEC3", "co")
8989

@@ -203,7 +203,7 @@ def get_point_shader(self, pattern: Literal["SINGLE FORCE", "SINGLE MOMENT"]) ->
203203
"""param: pattern: type of pattern
204204
SINGLE FORCE,
205205
SINGLE MOMENT"""
206-
vert_out = gpu.types.GPUStageInterfaceInfo("my_interface") # ty: ignore[too-many-positional-arguments]
206+
vert_out = gpu.types.GPUStageInterfaceInfo("my_interface")
207207
vert_out.smooth("VEC3", "co")
208208

209209
shader_info = gpu.types.GPUShaderCreateInfo()
@@ -253,7 +253,7 @@ def get_point_shader(self, pattern: Literal["SINGLE FORCE", "SINGLE MOMENT"]) ->
253253

254254
def get_planar_shader(self) -> gpu.types.GPUShader:
255255
"""shader for planar loads"""
256-
vert_out = gpu.types.GPUStageInterfaceInfo("my_interface") # ty: ignore[too-many-positional-arguments]
256+
vert_out = gpu.types.GPUStageInterfaceInfo("my_interface")
257257
vert_out.smooth("VEC3", "co")
258258

259259
shader_info = gpu.types.GPUShaderCreateInfo()

src/bonsai/bonsai/tool/ifcgit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def load_project(cls, path_ifc: str = "") -> None:
286286
if re.match("^Ifc", obj.name):
287287
bpy.data.objects.remove(obj, do_unlink=True)
288288

289-
bpy.data.orphans_purge(do_recursive=True) # ty:ignore[unknown-argument]
289+
bpy.data.orphans_purge(do_recursive=True)
290290

291291
import bonsai.bim.handler
292292
from bonsai.bim.module.model.data import AuthoringData

0 commit comments

Comments
 (0)