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

Fix 4227: Black does not print errors with --quiet --check #4236

Merged
merged 10 commits into from Mar 13, 2024
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -44,6 +44,7 @@

### Documentation

- Note what happens when --check is called with --quiet (#4236)
dankrzeminski32 marked this conversation as resolved.
Show resolved Hide resolved
<!-- Major changes to documentation and policies. Small docs changes
don't need a changelog entry. -->

Expand Down
3 changes: 3 additions & 0 deletions docs/usage_and_configuration/the_basics.md
Expand Up @@ -183,6 +183,9 @@ Don't write the files back, just return the status. _Black_ will exit with:
- code 1 if some files would be reformatted; or
- code 123 if there was an internal error

If used in combination with `--quiet` then only the exit code will be returned, unless
there was an internal error.

```console
$ black test.py --check
All done! ✨ 🍰 ✨
Expand Down