Skip to content

Commit 178f1ad

Browse files
committed
lint fix
1 parent d8736f2 commit 178f1ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmdstanpy/utils/stancsv.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -431,8 +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 as exc:
435-
raise ValueError(f"Invalid time value at line {lineno}: {content}") from exc
434+
except ValueError as e:
435+
raise ValueError(f"Invalid time at line {lineno}: {content}") from e
436436
time[key] = t
437437

438438
if not all(key in time for key in keys):

0 commit comments

Comments
 (0)