Skip to content

Commit b1239d1

Browse files
committed
Log black global config if found
1 parent 4938c18 commit b1239d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pylsp_black/plugin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
GLOBAL_CONFIG = Path.home() / ".config" / "black"
2020
except Exception as e:
2121
logger.error("Error determining black global config file path: %s", e)
22+
else:
23+
if GLOBAL_CONFIG is not None and GLOBAL_CONFIG.exists():
24+
logger.info("Found black global config file at %s", GLOBAL_CONFIG)
2225

2326

2427
@hookimpl(tryfirst=True)

0 commit comments

Comments
 (0)