Skip to content

Commit 25cce0e

Browse files
linting
1 parent f8255fb commit 25cce0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeflash/result/critic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from typing import TYPE_CHECKING
3+
from typing import TYPE_CHECKING, Optional
44

55
from codeflash.cli_cmds.console import logger
66
from codeflash.code_utils import env_utils
@@ -29,7 +29,7 @@ def speedup_critic(
2929
candidate_result: OptimizedCandidateResult,
3030
original_code_runtime: int,
3131
best_runtime_until_now: int,
32-
disable_gh_action_noise: bool | None = None,
32+
disable_gh_action_noise: Optional[bool] = None,
3333
) -> bool:
3434
"""Take in a correct optimized Test Result and decide if the optimization should actually be surfaced to the user.
3535

0 commit comments

Comments
 (0)