robotpy / pynetworktables

Pure python implementation of the FRC NetworkTables protocol
Other
60 stars 30 forks source link

Add type hints #101

Closed auscompgeek closed 4 years ago

auscompgeek commented 4 years ago

This makes mypy stop complaining about networktables when type-checking robot code.

Closes: #77

auscompgeek commented 4 years ago

I think I got a bit lazy and didn't do the default type union return type thingo in NetworkTable, but it shouldn't change the documented interface and I care more about the Entry API.