Skip to content

Commit 6009cfa

Browse files
committed
fix: pylint errors
1 parent 936b32d commit 6009cfa

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

pylsp/config/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ def __init__(self, root_uri, init_opts, process_id, capabilities):
8181
if plugin is not None:
8282
log.info("Loaded pylsp plugin %s from %s", name, plugin)
8383

84-
# pylint: disable=no-member
8584
for plugin_conf in self._pm.hook.pylsp_settings(config=self):
8685
self._plugin_settings = _utils.merge_dicts(self._plugin_settings, plugin_conf)
8786

pylsp/python_lsp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class _StreamHandlerWrapper(socketserver.StreamRequestHandler):
3434

3535
def setup(self):
3636
super().setup()
37-
# pylint: disable=no-member
3837
self.delegate = self.DELEGATE_CLASS(self.rfile, self.wfile)
3938

4039
def handle(self):
@@ -48,7 +47,6 @@ def handle(self):
4847
if isinstance(e, WindowsError) and e.winerror == 10054:
4948
pass
5049

51-
# pylint: disable=no-member
5250
self.SHUTDOWN_CALL()
5351

5452

@@ -140,6 +138,7 @@ def send_message(message, websocket):
140138
log.exception("Failed to write message %s, %s", message, str(e))
141139

142140
async def run_server():
141+
# pylint: disable=no-member
143142
async with websockets.serve(pylsp_ws, port=port):
144143
# runs forever
145144
await asyncio.Future()

test/plugins/test_autoimport.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ def test_autoimport_defined_name(config, workspace):
167167
# workspace.rm_document(DOC_URI)
168168

169169

170-
# pylint: disable=no-self-use
171170
class test_should_insert:
172171

173172
def test_dot(self):

0 commit comments

Comments
 (0)