File tree Expand file tree Collapse file tree 4 files changed +185
-192
lines changed Expand file tree Collapse file tree 4 files changed +185
-192
lines changed Original file line number Diff line number Diff line change 32
32
SymbolInformation ,
33
33
SymbolKind ,
34
34
)
35
- from pygls .workspace import TextDocument # type: ignore[attr-defined]
35
+ from pygls .workspace import TextDocument
36
36
37
37
from .initialization_options import HoverDisableOptions , InitializationOptions
38
38
from .type_map import get_lsp_completion_type , get_lsp_symbol_type
Original file line number Diff line number Diff line change 7
7
from typing import Optional
8
8
9
9
from lsprotocol .types import Position , Range
10
- from pygls .workspace import TextDocument # type: ignore[attr-defined]
10
+ from pygls .workspace import TextDocument
11
11
12
12
13
13
def char_before_cursor (
Original file line number Diff line number Diff line change 23
23
TextDocumentEdit ,
24
24
TextEdit ,
25
25
)
26
- from pygls .workspace import ( # type: ignore[attr-defined]
27
- TextDocument ,
28
- Workspace ,
29
- )
26
+ from pygls .workspace import TextDocument , Workspace
30
27
31
28
32
29
def is_valid_python (code : str ) -> bool :
You can’t perform that action at this time.
0 commit comments