Skip to content

Commit e1513ad

Browse files
committed
Remove TODO comment
1 parent 4e09d44 commit e1513ad

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

plugwise/util.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ def escape_illegal_xml_characters(xmldata: str) -> str:
2222

2323
def format_measure(measure: str, unit: str) -> bool | float | int:
2424
"""Format measure to correct type."""
25-
# TODO: handle with appropriate care 20220405
26-
# continuously reassigning the same value with different type isn't
27-
# to typings liking
2825
result: bool | float | int = False
2926
try:
3027
result = int(measure)

0 commit comments

Comments
 (0)