Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poetry update, remove unused # type: ignore #289

Merged
merged 1 commit into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jedi_language_server/jedi_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
SymbolInformation,
SymbolKind,
)
from pygls.workspace import TextDocument # type: ignore[attr-defined]
from pygls.workspace import TextDocument

from .initialization_options import HoverDisableOptions, InitializationOptions
from .type_map import get_lsp_completion_type, get_lsp_symbol_type
Expand Down
2 changes: 1 addition & 1 deletion jedi_language_server/pygls_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from typing import Optional

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


def char_before_cursor(
Expand Down
5 changes: 1 addition & 4 deletions jedi_language_server/text_edit_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
TextDocumentEdit,
TextEdit,
)
from pygls.workspace import ( # type: ignore[attr-defined]
TextDocument,
Workspace,
)
from pygls.workspace import TextDocument, Workspace


def is_valid_python(code: str) -> bool:
Expand Down
Loading
Loading