summaryrefslogtreecommitdiffstats
path: root/tests/lsp_tests/lsp_tutil.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/lsp_tutil.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/lsp_tutil.py')
-rw-r--r--tests/lsp_tests/lsp_tutil.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/lsp_tests/lsp_tutil.py b/tests/lsp_tests/lsp_tutil.py
index bc0fa91..8c0827e 100644
--- a/tests/lsp_tests/lsp_tutil.py
+++ b/tests/lsp_tests/lsp_tutil.py
@@ -1,16 +1,17 @@
import dataclasses
-from typing import Tuple, Union, FrozenSet, Optional, List
+from typing import Tuple, FrozenSet, Optional, List
from debputy.lsp.lsp_features import SEMANTIC_TOKENS_LEGEND
from debputy.util import grouper
+from debputy.lsprotocol.types import (
+ TextDocumentItem,
+ Position,
+ Range,
+ SemanticTokens,
+)
+
try:
- from lsprotocol.types import (
- TextDocumentItem,
- Position,
- Range,
- SemanticTokens,
- )
from debputy.lsp.debputy_ls import DebputyLanguageServer
except ImportError:
pass