aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/lsp/lsp.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/lsp.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/lsp.py')
-rw-r--r--pyGHDL/lsp/lsp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyGHDL/lsp/lsp.py b/pyGHDL/lsp/lsp.py
index 43b8c47c8..d76c04616 100644
--- a/pyGHDL/lsp/lsp.py
+++ b/pyGHDL/lsp/lsp.py
@@ -162,7 +162,7 @@ class LanguageProtocolServer(object):
self.conn.write(output)
def notify(self, method, params):
- """Send a notification"""
+ """Send a notification."""
body = {
"jsonrpc": "2.0",
"method": method,
@@ -171,7 +171,7 @@ class LanguageProtocolServer(object):
self.write_output(body)
def send_request(self, method, params):
- """Send a request"""
+ """Send a request."""
self._next_id += 1
body = {
"jsonrpc": "2.0",
@@ -182,7 +182,7 @@ class LanguageProtocolServer(object):
self.write_output(body)
def shutdown(self):
- """Prepare to shutdown the server"""
+ """Prepare to shutdown the server."""
self.running = False
def show_message(self, typ, message):