]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Remove happiness of error message (#852)
authorKatie McLaughlin <katie@glasnt.com>
Thu, 16 May 2019 12:02:17 +0000 (22:02 +1000)
committerZsolt Dollenstein <zsol.zsol@gmail.com>
Thu, 16 May 2019 12:02:17 +0000 (13:02 +0100)
black.py

index 694c1e961aa41bef489ea08145f1ee9faed7c69b..728b084b04d8ef0b47711d3fd02d6ba27de6f017 100644 (file)
--- a/black.py
+++ b/black.py
@@ -457,8 +457,7 @@ def main(
         )
 
     if verbose or not quiet:
-        bang = "💥 💔 💥" if report.return_code else "✨ 🍰 ✨"
-        out(f"All done! {bang}")
+        out("Oh no! 💥 💔 💥" if report.return_code else "All done! ✨ 🍰 ✨")
         click.secho(str(report), err=True)
     ctx.exit(report.return_code)