scalableminds / webknossos-connect

Connect webKnossos with existing datasets (BossDB, Neuroglancer Precomputed)
GNU Affero General Public License v3.0
0 stars 0 forks source link

add lots of typing #12

Closed jstriebel closed 5 years ago

jstriebel commented 5 years ago

This types the whole codebase, I actually found some small error-prone parts due to it.

I did the first part with pyannotate, nice tool to get some initial typing.

PS: Seems like numpy.ndarray is covariant with Iterable, so there might easily be mismatches.