Skip to content

Commit 65f09f2

Browse files
committed
flake fix
1 parent 7c8b132 commit 65f09f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmdstanpy/utils/stancsv.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,8 @@ def scan_time(fd: TextIO, config_dict: Dict[str, Any], lineno: int) -> int:
431431
raise ValueError(f"Invalid time at line {lineno}: {content}")
432432
try:
433433
t = float(time_str)
434-
except ValueError:
434+
except ValueError as exc:
435+
# pylint: disable=raise-missing-from
435436
raise ValueError(f"Invalid time value at line {lineno}: {content}")
436437
time[key] = t
437438

0 commit comments

Comments
 (0)