From ebbe8d0887f9f6fc39159b393ca7ccf9fd420d56 Mon Sep 17 00:00:00 2001 From: Aseem Saxena Date: Wed, 21 May 2025 01:24:11 -0400 Subject: [PATCH] type hint fix --- codeflash/cli_cmds/cmd_init.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codeflash/cli_cmds/cmd_init.py b/codeflash/cli_cmds/cmd_init.py index 7e6d2cd57..c287203b2 100644 --- a/codeflash/cli_cmds/cmd_init.py +++ b/codeflash/cli_cmds/cmd_init.py @@ -7,7 +7,7 @@ import sys from enum import Enum, auto from pathlib import Path -from typing import TYPE_CHECKING, Any, cast +from typing import TYPE_CHECKING, Any, cast, Union import click import git @@ -50,7 +50,7 @@ class SetupInfo: module_root: str tests_root: str - benchmarks_root: str | None + benchmarks_root: Union[str, None] test_framework: str ignore_paths: list[str] formatter: str