Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Inconsistent "reformatted" message #50

Open
prusse-martin opened this issue Oct 17, 2019 · 1 comment
Open

Inconsistent "reformatted" message #50

prusse-martin opened this issue Oct 17, 2019 · 1 comment

Comments

@prusse-martin
Copy link
Member

(_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.

@haensch-mauricio haensch-mauricio changed the title Incosistent "refomated" message Inconsistent "reformatted" message Oct 17, 2019
@nicoddemus
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants