diff options
Diffstat (limited to 'tests/lsp_tests/lsp_tutil.py')
-rw-r--r-- | tests/lsp_tests/lsp_tutil.py | 15 |
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 |