* formatting failure msg
* fix
* make formatter optional in the optimizer only to not break other logic & fix unit tests
* small fix
* fix lint issue
---------
Co-authored-by: saga4 <saga4@codeflashs-MacBook-Air.local>
Co-authored-by: ali <mohammed18200118@gmail.com>
* check large diffs with black, and skipp formatting in such case (after optimizing)
* new line
* better log messages
* remove unnecessary check
* new line
* remove unused comment
* the max lines for formatting changes to 100
* refactoring
* refactoring and improvements
* added black as dev dependency
* made some refactor changes that codeflash suggested
* remove unused function
* formatting & using internal black dep
* fix black import issue
* handle formatting files with no formatting issues
* use user pre-defined formatting commands, instead of using black
* make sure format_code recieves file path as path type not as str
* formatting and linting
* typo
* revert lock file changes
* remove comment
* pass helper functions source code to the formatter for diff checking
* more unit tests
* enhancements
* Update formatter.py
add a todo comment
* Update formatter.py
Fix ruff lint
---------
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>