diff --git a/construct_editor/core/entries.py b/construct_editor/core/entries.py index 895dd82..4857cf6 100644 --- a/construct_editor/core/entries.py +++ b/construct_editor/core/entries.py @@ -515,7 +515,7 @@ def on_collapse_children_clicked(): # EntryArray ########################################################################################################## class EntryArray(EntrySubconstruct): construct: t.Union[ - "cs.Array[Any, Any, Any, Any]", "cs.GreedyRange[Any, Any, Any, Any]" + "cs.Array[Any, Any]", "cs.GreedyRange[Any, Any]" ] def __init__( @@ -523,7 +523,7 @@ def __init__( model: "model.ConstructEditorModel", parent: Optional["EntryConstruct"], construct: t.Union[ - "cs.Array[Any, Any, Any, Any]", "cs.GreedyRange[Any, Any, Any, Any]" + "cs.Array[Any, Any]", "cs.GreedyRange[Any, Any]" ], name: t.Optional[NameType], docs: str, @@ -1146,7 +1146,7 @@ def __init__( self, model: "model.ConstructEditorModel", parent: Optional["EntryConstruct"], - construct: "cs.Const[Any, Any, Any, Any]", + construct: "cs.Const[Any, Any]", name: t.Optional[NameType], docs: str, ): @@ -1163,7 +1163,7 @@ def __init__( self, model: "model.ConstructEditorModel", parent: Optional["EntryConstruct"], - construct: "cs.Computed[Any, Any]", + construct: "cs.Computed[Any]", name: t.Optional[NameType], docs: str, ): @@ -1519,7 +1519,7 @@ def __init__( self, model: "model.ConstructEditorModel", parent: Optional["EntryConstruct"], - construct: "cs.RawCopy[Any, Any, Any, Any]", + construct: "cs.RawCopy[Any, Any]", name: t.Optional[NameType], docs: str, ): diff --git a/pyproject.toml b/pyproject.toml index 30ff546..86dd64e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -139,7 +139,6 @@ exclude = [ [tool.ty.rules] invalid-assignment = "ignore" invalid-method-override = "ignore" -invalid-type-arguments = "ignore" unresolved-attribute = "ignore" unused-type-ignore-comment = "ignore"