This commit is contained in:
Łukasz Langa 2018-06-05 09:49:06 -07:00
parent aeaaf571ad
commit ed50737290
3 changed files with 13 additions and 5 deletions

6
Pipfile.lock generated
View File

@ -124,10 +124,10 @@
},
"cfgv": {
"hashes": [
"sha256:2fbaf8d082456d8fff5a68163ff59c1025a52e906914fbc738be7d8ea5b7aa4b",
"sha256:733aa2f66b5106af32d271336a571610b9808e868de0ad5690d9d5155e5960c5"
"sha256:73f48a752bd7aab103c4b882d6596c6360b7aa63b34073dd2c35c7b4b8f93010",
"sha256:d1791caa9ff5c0c7bce80e7ecc1921752a2eb7c2463a08ed9b6c96b85a2f75aa"
],
"version": "==1.0.0"
"version": "==1.1.0"
},
"chardet": {
"hashes": [

View File

@ -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)

View File

@ -46,7 +46,7 @@
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)