Skip to content

Commit 1522227

Browse files
better log messages
1 parent 5cd13ad commit 1522227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeflash/code_utils/formatter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ def should_format_file(filepath, max_lines_changed=50):
3939
return True
4040

4141
except subprocess.CalledProcessError:
42-
logger.warning(f"black command failed for {filepath}")
42+
logger.warning(f"black --diff command failed for {filepath}")
4343
return False
4444
except FileNotFoundError:
45-
logger.warning("black is not installed. Skipping formatting check.")
45+
logger.warning("black formatter is not installed. Skipping formatting diff check.")
4646
return False
4747

4848

0 commit comments

Comments
 (0)