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):
4747 pass
4848
4949
50- class CantReadDocumentError (Exception ):
51- pass
52-
53-
5450class TextDocumentProtocolPart (LanguageServerProtocolPart , DocumentsManager ):
5551 __logger : Final = LoggingDescriptor ()
5652
Original file line number Diff line number Diff line change 2626from .protocol_part import RobotLanguageServerProtocolPart
2727
2828
29- class CantReadDocumentError (Exception ):
30- pass
31-
32-
3329class RobotWorkspaceProtocolPart (RobotLanguageServerProtocolPart ):
3430 _logger = LoggingDescriptor ()
3531
Original file line number Diff line number Diff line change 2020T = TypeVar ("T" , bound = Enum )
2121
2222
23- class EnumChoice (click .Choice , Generic [T ]):
23+ class EnumChoice (click .Choice , Generic [T ]): # type: ignore[type-arg]
2424 """A click.Choice that accepts Enum values."""
2525
2626 def __init__ (
@@ -30,7 +30,7 @@ def __init__(
3030 excluded : Optional [Set [T ]] = None ,
3131 ) -> None :
3232 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 )),
3434 case_sensitive ,
3535 )
3636
You can’t perform that action at this time.
0 commit comments