From: Christian Heimes Date: Mon, 7 May 2018 17:12:47 +0000 (+0200) Subject: Output something when no files are reformatted (#190) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/2d9eaafa97e967c8974a6321dcc442a90192140f?hp=2d9eaafa97e967c8974a6321dcc442a90192140f Output something when no files are reformatted (#190) Just executing ``black`` without any argument does not print any message to stdout or stderr. It's rather confusing, because the user doesn't know what happened. In ``len(sources) == 0`` case, black now prints ``No paths given. Nothing to do``. Signed-off-by: Christian Heimes ---