diff --git a/generate.py b/generate.py index 5f29b5e..27222a5 100755 --- a/generate.py +++ b/generate.py @@ -41,7 +41,7 @@ def generate(preferred_structure_kind: StructureKind, output: str) -> None: f"# LSP v{specification_version}\n", "from typing_extensions import NotRequired", "from typing import Dict, List, Literal, TypedDict, Union", - "from enum import Enum, IntEnum, IntFlag, StrEnum\n\n", + "from enum import IntEnum, IntFlag, StrEnum\n\n", "URI = str", "DocumentUri = str", "Uint = int", diff --git a/lsp_types.py b/lsp_types.py index 7e184a2..1b3efb9 100644 --- a/lsp_types.py +++ b/lsp_types.py @@ -3,7 +3,7 @@ from typing_extensions import NotRequired from typing import Dict, List, Literal, TypedDict, Union -from enum import Enum, IntEnum, IntFlag, StrEnum +from enum import IntEnum, IntFlag, StrEnum URI = str diff --git a/lsp_types_sublime_text_33.py b/lsp_types_sublime_text_33.py index 524e44a..1b1ef80 100644 --- a/lsp_types_sublime_text_33.py +++ b/lsp_types_sublime_text_33.py @@ -3,7 +3,7 @@ from typing_extensions import NotRequired from typing import Dict, List, Literal, TypedDict, Union -from enum import Enum, IntEnum, IntFlag, StrEnum +from enum import IntEnum, IntFlag, StrEnum URI = str