Skip to content

Add type-hints to pysmt code #780

Description

@enmag

Python has added support for type-hints in version 3.5; which has now reached end-of-life.

In my opinion, type-hints make it easier to read the code and also enable a number of static checks.
What do you think?

If we want to go fancy, there are a number of different formats / libraries that support the definition of contracts (mostly pre-post conditions and invariants e.g. PEP 316, deal).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions