Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report which files were modified #19

Open
sodul opened this issue May 6, 2021 · 0 comments
Open

Report which files were modified #19

sodul opened this issue May 6, 2021 · 0 comments

Comments

@sodul
Copy link

sodul commented May 6, 2021

We want to use unify through the gray project as a pre-commit hook.

It works well but we are getting feedback from our developers that the output is confusing when files are changed:

gray.....................................................................Failed
- hook id: gray
- files were modified by this hook

For example with black more details are provided:

black....................................................................Failed
    - hook id: black
    - files were modified by this hook

reformatted <filename>
...
All done! ✨ 🍰 ✨
15 files reformatted, 1 file left unchanged.

It would be informative to have an output such as:

gray.....................................................................Failed
- hook id: gray
- files were modified by this hook

Unified quotes in <filename>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant