From ed50737290662f6ef4016a7ea44da78ee1eff1e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Langa?= Date: Tue, 5 Jun 2018 09:49:06 -0700 Subject: [PATCH] 18.6b1 --- Pipfile.lock | 6 +++--- README.md | 7 +++++++ black.py | 5 +++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index e555eec..1afc044 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -124,10 +124,10 @@ }, "cfgv": { "hashes": [ - "sha256:2fbaf8d082456d8fff5a68163ff59c1025a52e906914fbc738be7d8ea5b7aa4b", - "sha256:733aa2f66b5106af32d271336a571610b9808e868de0ad5690d9d5155e5960c5" + "sha256:73f48a752bd7aab103c4b882d6596c6360b7aa63b34073dd2c35c7b4b8f93010", + "sha256:d1791caa9ff5c0c7bce80e7ecc1921752a2eb7c2463a08ed9b6c96b85a2f75aa" ], - "version": "==1.0.0" + "version": "==1.1.0" }, "chardet": { "hashes": [ diff --git a/README.md b/README.md index ac25db1..d6e76cd 100644 --- a/README.md +++ b/README.md @@ -709,6 +709,13 @@ More details can be found in [CONTRIBUTING](CONTRIBUTING.md). ## Change Log +### 18.6b1 + +* hotfix: don't output human-facing information on stdout (#299) + +* hotfix: don't output cake emoji on non-zero return code (#300) + + ### 18.6b0 * added `--include` and `--exclude` (#270) diff --git a/black.py b/black.py index dbaf14a..cc5075c 100644 --- a/black.py +++ b/black.py @@ -46,7 +46,7 @@ from blib2to3.pgen2 import driver, token from blib2to3.pgen2.parse import ParseError -__version__ = "18.6b0" +__version__ = "18.6b1" DEFAULT_LINE_LENGTH = 88 DEFAULT_EXCLUDES = ( r"/(\.git|\.hg|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist)/" @@ -337,7 +337,8 @@ def main( finally: shutdown(loop) if verbose or not quiet: - out("All done!" + ("💥 💔 💥" if report.return_code else " ✨ 🍰 ✨")) + bang = "💥 💔 💥" if report.return_code else "✨ 🍰 ✨" + out(f"All done! {bang}") click.secho(str(report), err=True) ctx.exit(report.return_code) -- 2.39.5