Skip to content

Static typing #472

@lkstrp

Description

@lkstrp

Static type checks a la PyPSA/PyPSA#1010. See [https://github.com/PyPSA/PyPSA/blob/6f70f53f44bc27108219856e5a197b9ad1f46cae/pyproject.toml#L141-L149](mypy config) in PyPSA.

Probably that could already be implemented with https://github.com/astral-sh/ty, once they are stable and if we can also use it for PyPSA and linopy. Also linking https://github.com/facebook/pyrefly and https://github.com/microsoft/pyright, but we wanna stick with one type checker across all repos (currently it's mypy)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Quick wins

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions