mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Fix Ruff UP037 (quoted-annotation)
https://docs.astral.sh/ruff/rules/quoted-annotation/
This commit is contained in:
@@ -44,7 +44,7 @@ T = TypeVar("T")
|
||||
|
||||
class Bcf(bonsai.core.tool.Bcf):
|
||||
@classmethod
|
||||
def get_bcf_props(cls) -> "BCFProperties":
|
||||
def get_bcf_props(cls) -> BCFProperties:
|
||||
return bpy.context.scene.BCFProperties
|
||||
|
||||
@classmethod
|
||||
|
||||
@@ -40,7 +40,7 @@ class Cost(bonsai.core.tool.Cost):
|
||||
RELATED_OBJECT_TYPE = Literal["PRODUCT", "PROCESS", "RESOURCE"]
|
||||
|
||||
@classmethod
|
||||
def get_cost_props(cls) -> "BIMCostProperties":
|
||||
def get_cost_props(cls) -> BIMCostProperties:
|
||||
return bpy.context.scene.BIMCostProperties
|
||||
|
||||
@classmethod
|
||||
|
||||
@@ -124,7 +124,7 @@ class PsetTemplate(bonsai.core.tool.PsetTemplate):
|
||||
PSET_TEMPLATE_LOCATION = Literal["Global Pset Template", "Project Pset Template"]
|
||||
|
||||
@classmethod
|
||||
def get_pset_template_files(cls) -> list[tuple[Path, "PSET_TEMPLATE_LOCATION"]]:
|
||||
def get_pset_template_files(cls) -> list[tuple[Path, PSET_TEMPLATE_LOCATION]]:
|
||||
"""
|
||||
:return: List of pset template files. Each template file is represented
|
||||
by a tuple of the filepath and pset template location source.
|
||||
|
||||
Reference in New Issue
Block a user