Skip to content

Commit baa747a

Browse files
committed
precommit fix
1 parent 5507f8f commit baa747a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

codeflash/cli_cmds/cmd_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ def test_sort():
922922
def run_end_to_end_test(args: Namespace, bubble_sort_path: str, bubble_sort_test_path: str) -> None:
923923
try:
924924
check_formatter_installed(args.formatter_cmds)
925-
except Exception: # noqa: BLE001
925+
except Exception:
926926
logger.error(
927927
"Formatter not found. Review the formatter_cmds in your pyproject.toml file and make sure the formatter is installed."
928928
)

codeflash/code_utils/env_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class FormatterNotFoundError(Exception):
1818
def __init__(self, formatter_cmd: str) -> None:
1919
super().__init__(f"Formatter command not found: {formatter_cmd}")
2020

21+
2122
def check_formatter_installed(formatter_cmds: list[str]) -> bool:
2223
return_code = True
2324
if formatter_cmds[0] == "disabled":

0 commit comments

Comments
 (0)