Skip to content

Commit

Permalink
style: adding one more hint
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Jul 31, 2024
1 parent 21f73c5 commit 2e69104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edtf/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def struct_time_to_datetime(st: struct_time) -> datetime:
return datetime(*st[:6])


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

0 comments on commit 2e69104

Please sign in to comment.