Skip to content

Commit 1879e0e

Browse files
Merge pull request #239 from codeflash-ai/py39-init-fix
Fixing `codeflash init` for Python 3.9 (CF-649)
2 parents 2ba89e6 + ebbe8d0 commit 1879e0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeflash/cli_cmds/cmd_init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import sys
88
from enum import Enum, auto
99
from pathlib import Path
10-
from typing import TYPE_CHECKING, Any, cast
10+
from typing import TYPE_CHECKING, Any, cast, Union
1111

1212
import click
1313
import git
@@ -50,7 +50,7 @@
5050
class SetupInfo:
5151
module_root: str
5252
tests_root: str
53-
benchmarks_root: str | None
53+
benchmarks_root: Union[str, None]
5454
test_framework: str
5555
ignore_paths: list[str]
5656
formatter: str

0 commit comments

Comments
 (0)