-
-
Notifications
You must be signed in to change notification settings - Fork 1
Use mypy and types in the code base #23
Comments
Here's a blog post by Zulip on how to add type annotations to an existing code-base. |
|
Got mypy running, will update requirements.txt to include mypy.
|
May be we should add a |
https://pypi.org/project/pip-tools/ may be good tooling to do this kind of a thing. But, this could be done later, too, I suppose. (As a separate issue, and not a part of this). |
Have to ask if this article
<https://blogs.dropbox.com/tech/2019/09/our-journey-to-type-checking-4-million-lines-of-python/>
started the push for typed Python :D
…On Mon, Sep 16, 2019 at 4:24 PM Puneeth Chaganti ***@***.***> wrote:
https://pypi.org/project/pip-tools/ may be good tooling to do this kind
of a thing. But, this could be done later, too, I suppose. (As a separate
issue, and not a part of this).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACUED2N42E63VBBR7UB7P63QJ5QUZANCNFSM4IV6XLCQ>
.
|
Not really. The Zulip code base uses typed Python and has been one of the first medium-large projects to adopt mypy. It's been quite useful for the project both in terms of helping with catching bugs early and making it easier to grok the code for new contributors. https://blog.zulip.org/2016/10/13/static-types-in-python-oh-mypy/ Also, some of the folks here also would like to contribute to Zulip - and learning some of the tooling in a smaller project might help. :) |
No description provided.
The text was updated successfully, but these errors were encountered: