adafruit / Adafruit_CircuitPython_MiniMQTT

MQTT Client Library for CircuitPython
Other
80 stars 49 forks source link

add some type annotations to adafruit_minimqtt.py #158

Closed vladak closed 1 year ago

vladak commented 1 year ago

This change adds more type annotations. mypy --strict adafruit_minimqtt/adafruit_minimqtt.py currently below 100 errors (down from 168).

Approaches #92.

vladak commented 1 year ago

For now, I am done with the changes, unless more issues are found. Will save the more complicated stuff (Callables in particular) till next time.