esss_fix_format
esss_fix_format copied to clipboard
Inconsistent "reformatted" message
(_alfasim_gui-win64-py36) λ ff -c
Running black on 6 files...
reformatted D:\prusse\work\alfasim\Projects\alfasim\alfasim_calc\source\python\alfasim_calc\license.py
reformatted D:\prusse\work\alfasim\Projects\alfasim\alfasim_calc\source\python\alfasim_calc\run_scheduler.py
All done! ✨ � ✨
2 files reformatted, 4 files left unchanged.
fix-format: 6 files left unchanged.
It reformatted 2 files (they are listed) but the final out says none have been changed.
It is a bit confusing, but the last message 6 files left unchanged is about the rest of what fix-format does behind the scenes.
We might consider capturing/parsing black's output and merge the 2 statuses.