We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4938c18 commit b1239d1Copy full SHA for b1239d1
pylsp_black/plugin.py
@@ -19,6 +19,9 @@
19
GLOBAL_CONFIG = Path.home() / ".config" / "black"
20
except Exception as e:
21
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)
25
26
27
@hookimpl(tryfirst=True)
0 commit comments