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)
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)