Adding pyproject.toml configuration output to verbose logging (#3392)
This commit is contained in:
parent
16b98abca9
commit
5f0dc862f5
@ -36,6 +36,9 @@
|
|||||||
|
|
||||||
<!-- Changes to Black's terminal output and error messages -->
|
<!-- Changes to Black's terminal output and error messages -->
|
||||||
|
|
||||||
|
- Verbose logging now shows the values of `pyproject.toml` configuration variables
|
||||||
|
(#3392)
|
||||||
|
|
||||||
### _Blackd_
|
### _Blackd_
|
||||||
|
|
||||||
<!-- Changes to blackd -->
|
<!-- Changes to blackd -->
|
||||||
|
@ -511,6 +511,9 @@ def main( # noqa: C901
|
|||||||
out("Using configuration from project root.", fg="blue")
|
out("Using configuration from project root.", fg="blue")
|
||||||
else:
|
else:
|
||||||
out(f"Using configuration in '{config}'.", fg="blue")
|
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! 💥 💔 💥"
|
error_msg = "Oh no! 💥 💔 💥"
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user