]> 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:

Adding pyproject.toml configuration output to verbose logging (#3392)
authormainj12 <118842653+mainj12@users.noreply.github.com>
Sat, 10 Dec 2022 20:56:14 +0000 (20:56 +0000)
committerGitHub <noreply@github.com>
Sat, 10 Dec 2022 20:56:14 +0000 (12:56 -0800)
CHANGES.md
src/black/__init__.py

index c84feb049344ef9913860df3469909175df2a63c..e781cbd523e715ebccca5b0846d517431f085dfa 100644 (file)
@@ -36,6 +36,9 @@
 
 <!-- Changes to Black's terminal output and error messages -->
 
+- Verbose logging now shows the values of `pyproject.toml` configuration variables
+  (#3392)
+
 ### _Blackd_
 
 <!-- Changes to blackd -->
index 39d12968c4b15e4756fdf138fa17f68423a5005b..f00749aaed81146dbadc7778cf49bad23af6e3c5 100644 (file)
@@ -511,6 +511,9 @@ def main(  # noqa: C901
                 out("Using configuration from project root.", fg="blue")
             else:
                 out(f"Using configuration in '{config}'.", fg="blue")
+            if ctx.default_map:
+                for param, value in ctx.default_map.items():
+                    out(f"{param}: {value}")
 
     error_msg = "Oh no! 💥 💔 💥"
     if (