Repository: psf/black

Issue:
coloring to improve visibility
**Is your feature request related to a problem? Please describe.**

It takes a bit of searching to find out how many files were reformatted and changed

**Describe the solution you'd like**

I think adding some simple coloring to the "x files reformatted, y files left unchanged" would be great, and also additionally leaving one line before "All done! ✨ 🍰 ✨" would be great too imo.


**Describe alternatives you've considered**

Adding some colons and such would help too, but I think adding some color would be better

**Additional context**
Here is an example of what I mean

![image](https://user-images.githubusercontent.com/77634274/146871370-0e3ad1d0-3d4b-4e7d-9445-016c8d99efa1.png)



Discussion:
I'd prefer if we stuck to the blue we already use for other messages and then use it for both stats as IMO it looks weird having two different colours for similar stats, but other than that I'm accepting this enhancement. I like it @blankRiot96!
> I'd prefer if we stuck to the blue we already use for other messages and then use it for both stats as IMO it looks weird having two different colours for similar stats, but other than that I'm accepting this enhancement. I like it @blankRiot96!

Thanks! Since you labelled it as a good first issue, I would love to work on it and make a PR. I have read the contributing guidelines too. If you don't mind, could you tell me where the output is handled in the src? 😓 
I have looked at <a href="https://github.com/psf/black/blob/main/src/black/__init__.py">__init__.py</a> and have understood that `click` is being used, which is great since I am familiar with it. And I am assuming the listing of reformatted files and the `All done!` message is being handled with `echo`
Was unable to find the output, but thanks again!
I presume you'd want to modify

https://github.com/psf/black/blob/c5b458ef4ba1b6a62685461c6731f1775bee132b/src/black/report.py#L79-L104

Resolving patch:
diff --git a/src/black/__init__.py b/src/black/__init__.py
--- a/src/black/__init__.py
+++ b/src/black/__init__.py
@@ -526,6 +526,8 @@ def main(
             )
 
     if verbose or not quiet:
+        if code is None and (verbose or report.change_count or report.failure_count):
+            out()
         out(error_msg if report.return_code else "All done! ✨ 🍰 ✨")
         if code is None:
             click.echo(str(report), err=True)
diff --git a/src/black/report.py b/src/black/report.py
--- a/src/black/report.py
+++ b/src/black/report.py
@@ -93,11 +93,13 @@ def __str__(self) -> str:
         if self.change_count:
             s = "s" if self.change_count > 1 else ""
             report.append(
-                style(f"{self.change_count} file{s} {reformatted}", bold=True)
+                style(f"{self.change_count} file{s} ", bold=True, fg="blue")
+                + style(f"{reformatted}", bold=True)
             )
+
         if self.same_count:
             s = "s" if self.same_count > 1 else ""
-            report.append(f"{self.same_count} file{s} {unchanged}")
+            report.append(style(f"{self.same_count} file{s} ", fg="blue") + unchanged)
         if self.failure_count:
             s = "s" if self.failure_count > 1 else ""
             report.append(style(f"{self.failure_count} file{s} {failed}", fg="red"))


Test patch: