Skip to content

Inappropriate tuple-like type for UserDefinedAngles #607

@yousefmoazzam

Description

@yousefmoazzam

Same as #606, but for UserDefinedAngles:

class UserDefinedAngles(NamedTuple):
"""
Configure rotation angle values to be generated by specifying a start angle, stop angle,
and the total number of angles.
"""
start_angle: int
stop_angle: int
angles_total: int

Using TypedDict would be a more appropriate type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions