aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/lsp/lsptools.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-23 18:13:38 +0200
committerGitHub <noreply@github.com>2021-06-23 18:13:38 +0200
commit5ae06c44dbfa64291d83ebb2d9cd323c713315b4 (patch)
treea3273f25e220b2c69869c4c8376f31e8229dbcda /pyGHDL/lsp/lsptools.py
parentc6283d9a9b40c3e9afeba912fcb13aa9d56b9c52 (diff)
parent6e1bbc43fc29528ceaf5d422461206e29e801744 (diff)
downloadghdl-5ae06c44dbfa64291d83ebb2d9cd323c713315b4.tar.gz
ghdl-5ae06c44dbfa64291d83ebb2d9cd323c713315b4.tar.bz2
ghdl-5ae06c44dbfa64291d83ebb2d9cd323c713315b4.zip
Fix more codacy issues
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)