8000 Add type-hints to pysmt code · Issue #780 · pysmt/pysmt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add type-hints to pysmt code #780
Open
@enmag

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0