nengo icon indicating copy to clipboard operation
nengo copied to clipboard

Mypy Type Stubs

Open hanleyc01 opened this issue 2 years ago • 1 comments

Hey there! My friend introduced me to Nengo a little while back, and it's been fun as a first experience with neural networks etc. I have been noticing though that whenever I use my venv with mypy support that it is unable to find any type stubs, or typing generally.

I was talking to my friend about it and she said something to the effect that there is some sort of typing already in Nengo, but I was wondering if there was anything about looking into adding type hints etc.

I'm not sure how monumental of a task that is, and I don't wanna demand it or anything like that. I've never contributed to open source projects, but if there is any desire I'd be happy to help!

Thanks so much, lemme know if this is tagged in the wrong way or anything!

hanleyc01 avatar Oct 25 '22 21:10 hanleyc01

Hi Connor! Thanks for your interest in Nengo!

We would definitely like to add type information to Nengo; at one point I started this work (see the typed branch but it's not complete, and is quite far behind master at this point. It's not an insanely large task, but right now there isn't anyone with the free cycles to finish my implementation. If an outside contributor were to do it, we also wouldn't have the time to review and merge it, so until we have those resources not much is likely to happen in this direction.

tbekolay avatar Oct 26 '22 19:10 tbekolay