File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -922,7 +922,7 @@ def test_sort():
922922def 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 )
Original file line number Diff line number Diff 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+
2122def check_formatter_installed (formatter_cmds : list [str ]) -> bool :
2223 return_code = True
2324 if formatter_cmds [0 ] == "disabled" :
You can’t perform that action at this time.
0 commit comments