[SciPy-Dev] Static Typing

Pamphile Roy roy.pamphile at gmail.com
Mon Jun 28 11:13:30 EDT 2021


Hi everyone,

In a recent PR (https://github.com/scipy/scipy/pull/14284 <https://github.com/scipy/scipy/pull/14284>), we had a discussion about static typing.
My understanding from previous PRs, the inclusion of MyPy in the CI and discussions during our last community meetups, was that we wanted
to gradually start adding type annotations in our code base. Thanks to the great help of Bas van Beek and others, we have a few common bricks we can use to ease the process.

What is your opinion about adding annotations?

I expressed my position in the issue. TL;DR I am in favour of adding type annotations. This greatly helps anyone using an IDE and downstream libraries like SciKit-Learn are basically waiting for us.
Lastly, I am putting here again the link to the last Python Community survey https://www.jetbrains.com/lp/python-developers-survey-2020/ <https://www.jetbrains.com/lp/python-developers-survey-2020/>,
static typing is the most wanted feature.

Cheers,
Pamphile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scipy-dev/attachments/20210628/740dd032/attachment.html>


More information about the SciPy-Dev mailing list