fix: add type: ignore for mypy float() arg-type

This commit is contained in:
Vikas Sharma 2026-05-29 01:39:55 +05:30
parent 860856c01a
commit e74fd23d56

View file

@ -109,7 +109,7 @@ class TickerrLogger(CustomLogger):
if isinstance(start_time, datetime) and isinstance(end_time, datetime):
latency = round((end_time - start_time).total_seconds() * 1000)
else:
latency = round((float(end_time) - float(start_time)) * 1000)
latency = round((float(end_time) - float(start_time)) * 1000) # type: ignore[arg-type]
payload = {
k: v