Skip to content

Commit 2e69104

Browse files
committed
style: adding one more hint
1 parent 21f73c5 commit 2e69104

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

edtf/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def struct_time_to_datetime(st: struct_time) -> datetime:
6060
return datetime(*st[:6])
6161

6262

63-
def trim_struct_time(st: struct_time, strip_time=False) -> struct_time:
63+
def trim_struct_time(st: struct_time, strip_time: bool = False) -> struct_time:
6464
"""
6565
Return a `struct_time` based on the one provided but with the extra fields
6666
`tm_wday`, `tm_yday`, and `tm_isdst` reset to default values.

0 commit comments

Comments
 (0)