Skip to content

Commit f3120bd

Browse files
committed
Remove unused import and lint
1 parent 02a3164 commit f3120bd

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

withings_api/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ def measure_get_meas(
145145
update_params(
146146
params, "startdate", startdate, lambda val: arrow.get(val).int_timestamp
147147
)
148-
update_params(params, "enddate", enddate, lambda val: arrow.get(val).int_timestamp)
148+
update_params(
149+
params, "enddate", enddate, lambda val: arrow.get(val).int_timestamp
150+
)
149151
update_params(params, "offset", offset)
150152
update_params(
151153
params, "lastupdate", lastupdate, lambda val: arrow.get(val).int_timestamp
@@ -168,7 +170,9 @@ def sleep_get(
168170
update_params(
169171
params, "startdate", startdate, lambda val: arrow.get(val).int_timestamp
170172
)
171-
update_params(params, "enddate", enddate, lambda val: arrow.get(val).int_timestamp)
173+
update_params(
174+
params, "enddate", enddate, lambda val: arrow.get(val).int_timestamp
175+
)
172176
update_params(
173177
params,
174178
"data_fields",

withings_api/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def validate(cls, value: Any) -> tzinfo:
7979
raise TypeError("string or tzinfo required")
8080

8181

82-
class ArrowType(Arrow): # type: ignore
82+
class ArrowType(Arrow):
8383
"""Subclass of Arrow for parsing dates."""
8484

8585
@classmethod

0 commit comments

Comments
 (0)