Skip to content

[Task] Add type hints to Python code #478

@amykyta3

Description

@amykyta3

Hey @olofk!
Would you be open to having type hints added to the edalize (and possibly also FuseSoC) Python code?
Type hinting in Python is really valuable not only from a documentation perspective, but also for developers since it allows static type checking to ensure correctness.
I see that Edalize currently requires py3.9+ which is new enough that most of the more useful type hinting mechanisms are safe to use.

I would be happy to implement this and submit a PR, but wanted to ask here before spending time on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions