Skip to content

Add type stubs for all distributed modules.#25

Open
CruzR wants to merge 1 commit into
caseman:masterfrom
CruzR:types
Open

Add type stubs for all distributed modules.#25
CruzR wants to merge 1 commit into
caseman:masterfrom
CruzR:types

Conversation

@CruzR

@CruzR CruzR commented Nov 1, 2018

Copy link
Copy Markdown

Hi, I've implemented one of the solutions for adding type hints I discussed in #24. Would be nice if you could have a look and decide whether this seems acceptable to you.

@caseman

caseman commented Nov 10, 2018

Copy link
Copy Markdown
Owner

I don't hate the idea :)

I tried it out built with your change merged and nothing much seemed to happen when I run mypy -m noise. Is this mostly useful for dependent programs using noise?

@caseman

caseman commented Nov 10, 2018

Copy link
Copy Markdown
Owner

Also I notice there's a test.pyi included. That one seems a bit useless :)

@pjh40

pjh40 commented Apr 9, 2025

Copy link
Copy Markdown

I don't hate the idea :)

I tried it out built with your change merged and nothing much seemed to happen when I run mypy -m noise. Is this mostly useful for dependent programs using noise?

I was just looking around for noise stubs and found this MR. Yes, the type stubs are for dependent programs, so that we can check that we are calling noise functions with the correct types.

@ppiasek

ppiasek commented Aug 12, 2025

Copy link
Copy Markdown

@caseman can you merge this and release, please? 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants