Closed alexrudd2 closed 4 months ago
This solves another 15 errors with mypy --checkuntyped defs pymodbus (and a few for pyright that mypy does not find).
mypy --checkuntyped defs pymodbus
pyright
mypy
It also looks like it fixes a real bug with time.sleep() not being called correctly. (The existing code attempts to call time.time() instead.)
time.sleep()
time.time()
Closing in favor of https://github.com/pymodbus-dev/pymodbus/pull/2035
This solves another 15 errors with
mypy --checkuntyped defs pymodbus
(and a few forpyright
thatmypy
does not find).It also looks like it fixes a real bug with
time.sleep()
not being called correctly. (The existing code attempts to calltime.time()
instead.)