diff options
Diffstat (limited to 'tests/lsp_tests/conftest.py')
-rw-r--r-- | tests/lsp_tests/conftest.py | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/tests/lsp_tests/conftest.py b/tests/lsp_tests/conftest.py index e995d88..c3c286e 100644 --- a/tests/lsp_tests/conftest.py +++ b/tests/lsp_tests/conftest.py @@ -7,20 +7,15 @@ from debputy.packages import DctrlParser from debputy.plugin.api.feature_set import PluginProvidedFeatureSet from debputy.util import setup_logging +from debputy.lsprotocol.types import ( + InitializeParams, + ClientCapabilities, + GeneralClientCapabilities, + PositionEncodingKind, +) + try: from pygls.server import LanguageServer - from lsprotocol.types import ( - InitializeParams, - ClientCapabilities, - GeneralClientCapabilities, - PositionEncodingKind, - TextDocumentItem, - Position, - CompletionParams, - TextDocumentIdentifier, - HoverParams, - MarkupContent, - ) from debputy.lsp.debputy_ls import DebputyLanguageServer HAS_PYGLS = True |