From: Łukasz Langa Date: Tue, 5 Jun 2018 16:49:06 +0000 (-0700) Subject: 18.6b1 X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/ed50737290662f6ef4016a7ea44da78ee1eff1e2?hp=aeaaf571ada7d13a4b52c258b33f1d11b1898a7a 18.6b1 --- 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)