Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Commit 3542912

Browse files
committed
Some minor import fixes
1 parent 21863c1 commit 3542912

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

rewrite/rewrite/java/extensions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from dataclasses import replace
12
from typing import Optional, TypeVar, TYPE_CHECKING
23

34
from .support_types import J, JRightPadded, JLeftPadded, JContainer, Space

rewrite/rewrite/visitor.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
from dataclasses import dataclass
44
from typing import Protocol, TypeVar, Optional, Dict, List, Any, cast, Type, ClassVar, TYPE_CHECKING
55

6-
if TYPE_CHECKING:
7-
from .markers import Marker, Markers
8-
from .execution import RecipeRunException
9-
from .tree import SourceFile, Tree
6+
from .execution import RecipeRunException
7+
from .markers import Marker, Markers
8+
from .tree import SourceFile, Tree
109

1110
O = TypeVar('O')
1211
T = TypeVar('T', bound='Tree')

0 commit comments

Comments
 (0)