summaryrefslogtreecommitdiffstats
path: root/tests/lsp_tests/conftest.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-11 17:11:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-11 17:11:02 +0000
commit503fe7dbcb39a6cf3f03e7b36cb3349f1fd321c5 (patch)
tree1c53ca0fa450a8997d7433b75cfa3bccdf189252 /tests/lsp_tests/conftest.py
parentAdding upstream version 0.1.35. (diff)
downloaddebputy-503fe7dbcb39a6cf3f03e7b36cb3349f1fd321c5.tar.xz
debputy-503fe7dbcb39a6cf3f03e7b36cb3349f1fd321c5.zip
Adding upstream version 0.1.36.upstream/0.1.36
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/lsp_tests/conftest.py')
-rw-r--r--tests/lsp_tests/conftest.py19
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