Skip to content

Commit

Permalink
remove Enum import
Browse files Browse the repository at this point in the history
  • Loading branch information
predragnikolic committed Jul 2, 2024
1 parent 0da4d7c commit 68346f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lsp_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lsp_types_sublime_text_33.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68346f5

Please sign in to comment.