File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
language_server/src/robotcode/language_server
plugin/src/robotcode/plugin/click_helper Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,6 @@ class LanguageServerDocumentError(JsonRPCException):
47
47
pass
48
48
49
49
50
- class CantReadDocumentError (Exception ):
51
- pass
52
-
53
-
54
50
class TextDocumentProtocolPart (LanguageServerProtocolPart , DocumentsManager ):
55
51
__logger : Final = LoggingDescriptor ()
56
52
Original file line number Diff line number Diff line change 26
26
from .protocol_part import RobotLanguageServerProtocolPart
27
27
28
28
29
- class CantReadDocumentError (Exception ):
30
- pass
31
-
32
-
33
29
class RobotWorkspaceProtocolPart (RobotLanguageServerProtocolPart ):
34
30
_logger = LoggingDescriptor ()
35
31
Original file line number Diff line number Diff line change 20
20
T = TypeVar ("T" , bound = Enum )
21
21
22
22
23
- class EnumChoice (click .Choice , Generic [T ]):
23
+ class EnumChoice (click .Choice , Generic [T ]): # type: ignore[type-arg]
24
24
"""A click.Choice that accepts Enum values."""
25
25
26
26
def __init__ (
@@ -30,7 +30,7 @@ def __init__(
30
30
excluded : Optional [Set [T ]] = None ,
31
31
) -> None :
32
32
super ().__init__ (
33
- choices if excluded is None else (set (choices ).difference (excluded )), # type: ignore[arg-type]
33
+ choices if excluded is None else (set (choices ).difference (excluded )),
34
34
case_sensitive ,
35
35
)
36
36
You can’t perform that action at this time.
0 commit comments