aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/lsp/lsptools.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/lsp/lsptools.py')
-rw-r--r--pyGHDL/lsp/lsptools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyGHDL/lsp/lsptools.py b/pyGHDL/lsp/lsptools.py
index 648f0a8c0..29e0b3292 100644
--- a/pyGHDL/lsp/lsptools.py
+++ b/pyGHDL/lsp/lsptools.py
@@ -5,7 +5,7 @@ from . import lsp
def lsp2json():
- "Utility that transforms lsp log file to a JSON list"
+ """Utility that transforms lsp log file to a JSON list."""
conn = lsp.LSPConn(sys.stdin.buffer, sys.stdout.buffer)
ls = lsp.LanguageProtocolServer(None, conn)
res = []
@@ -18,7 +18,7 @@ def lsp2json():
def json2lsp():
- "Utility that transform a JSON list to an lsp file"
+ """Utility that transform a JSON list to an lsp file."""
res = json.load(sys.stdin)
conn = lsp.LSPConn(sys.stdin.buffer, sys.stdout.buffer)
ls = lsp.LanguageProtocolServer(None, conn)