Skip to content

Commit 820becb

Browse files
authored
Merge pull request pappasam#289 from dimbleby/updates-and-clean-ignores
poetry update, remove unused `# type: ignore`
2 parents c4c470c + 3efda75 commit 820becb

File tree

4 files changed

+185
-192
lines changed

4 files changed

+185
-192
lines changed

jedi_language_server/jedi_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
SymbolInformation,
3333
SymbolKind,
3434
)
35-
from pygls.workspace import TextDocument # type: ignore[attr-defined]
35+
from pygls.workspace import TextDocument
3636

3737
from .initialization_options import HoverDisableOptions, InitializationOptions
3838
from .type_map import get_lsp_completion_type, get_lsp_symbol_type

jedi_language_server/pygls_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from typing import Optional
88

99
from lsprotocol.types import Position, Range
10-
from pygls.workspace import TextDocument # type: ignore[attr-defined]
10+
from pygls.workspace import TextDocument
1111

1212

1313
def char_before_cursor(

jedi_language_server/text_edit_utils.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323
TextDocumentEdit,
2424
TextEdit,
2525
)
26-
from pygls.workspace import ( # type: ignore[attr-defined]
27-
TextDocument,
28-
Workspace,
29-
)
26+
from pygls.workspace import TextDocument, Workspace
3027

3128

3229
def is_valid_python(code: str) -> bool:

0 commit comments

Comments
 (0)