Skip to content

Commit

Permalink
refactor: exceed 79 line width
Browse files Browse the repository at this point in the history
  • Loading branch information
harningle authored Sep 6, 2023
1 parent 2b8df2c commit 5fab6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastf1/ergast/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def save_int(i_str) -> int:

def save_float(f_str) -> float:
"""Create a ``float`` object from a string that is formatted like a float.
In cases where the input string isn't a valid float, return ``float('nan')``
In cases where the input string isn't a valid float, return nan
"""
# Match pure float strings, e.g.
# - '1234.5678' -> 1234.5678
Expand Down

0 comments on commit 5fab6e1

Please sign in to comment.