From 6e1bbc43fc29528ceaf5d422461206e29e801744 Mon Sep 17 00:00:00 2001 From: umarcor Date: Tue, 22 Jun 2021 19:31:18 +0200 Subject: fix more codacy issues --- pyGHDL/lsp/lsptools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyGHDL/lsp/lsptools.py') 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) -- cgit v1.2.3