From 61a8d401c797240c0bc5313a9ff068bb269479a5 Mon Sep 17 00:00:00 2001 From: Zsolt Dollenstein Date: Tue, 5 Jun 2018 10:38:20 +0100 Subject: [PATCH] Print report on stderr.\n\nFixes #299. --- black.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/black.py b/black.py index 0dec0b3..06edc9b 100644 --- a/black.py +++ b/black.py @@ -338,7 +338,7 @@ def main( shutdown(loop) if verbose or not quiet: out("All done! ✨ 🍰 ✨") - click.echo(str(report)) + click.secho(str(report), err=True) ctx.exit(report.return_code) -- 2.39.5