diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 21:20:25 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 21:20:25 +0200 |
commit | a3255c69df60fee697e1ee546052a8abe86fb4ff (patch) | |
tree | 524c352b917e25f61f7c7b1aeec19bf831c41f7f /pyGHDL/lsp/vhdl_ls.py | |
parent | 8cf15b9abb3a197857627f55ef28111f9492d9d5 (diff) | |
download | ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.tar.gz ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.tar.bz2 ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.zip |
black: rerun, to pick pyproject settings
Diffstat (limited to 'pyGHDL/lsp/vhdl_ls.py')
-rw-r--r-- | pyGHDL/lsp/vhdl_ls.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/pyGHDL/lsp/vhdl_ls.py b/pyGHDL/lsp/vhdl_ls.py index 0c022c380..8207c9e28 100644 --- a/pyGHDL/lsp/vhdl_ls.py +++ b/pyGHDL/lsp/vhdl_ls.py @@ -62,15 +62,7 @@ class VhdlLanguageServer(object): } return server_capabilities - def initialize( - self, - processId, - rootPath, - capabilities, - rootUri=None, - initializationOptions=None, - **_ - ): + def initialize(self, processId, rootPath, capabilities, rootUri=None, initializationOptions=None, **_): log.debug( "Language server initialize: pid=%s uri=%s path=%s options=%s", processId, @@ -91,9 +83,7 @@ class VhdlLanguageServer(object): def textDocument_didOpen(self, textDocument=None): doc_uri = textDocument["uri"] - self.workspace.put_document( - doc_uri, textDocument["text"], version=textDocument.get("version") - ) + self.workspace.put_document(doc_uri, textDocument["text"], version=textDocument.get("version")) self.lint(doc_uri) def textDocument_didChange(self, textDocument=None, contentChanges=None, **_kwargs): |