Skip to content

Commit d75eb81

Browse files
committed
Cleanup imports.
1 parent caab2f5 commit d75eb81

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

python/selfie-lib/selfie_lib/ArrayMap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from abc import ABC, abstractmethod
2-
from collections.abc import Set
3-
from typing import Any, ItemsView, Iterator, List, Mapping, Tuple, TypeVar, Union
2+
from collections.abc import ItemsView, Iterator, Mapping, Set
3+
from typing import Any, List, Tuple, TypeVar, Union
44

55
T = TypeVar("T")
66
V = TypeVar("V")

python/selfie-lib/selfie_lib/CommentTracker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import threading
2+
from collections.abc import Iterable
23
from enum import Enum, auto
3-
from typing import Dict, Iterable, Tuple
4+
from typing import Dict, Tuple
45

56
from .Slice import Slice
67
from .TypedPath import TypedPath

python/selfie-lib/selfie_lib/FS.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from abc import ABC, abstractmethod
2+
from collections.abc import Iterator
23
from pathlib import Path
3-
from typing import Callable, Iterator, TypeVar
4+
from typing import Callable, TypeVar
45

56
from selfie_lib.TypedPath import TypedPath
67

python/selfie-lib/selfie_lib/Lens.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import re
22
from abc import ABC, abstractmethod
3-
from typing import Callable, Generic, Iterator, List, Optional, Protocol, TypeVar, Union
3+
from collections.abc import Iterator
4+
from typing import Callable, Generic, List, Optional, Protocol, TypeVar, Union
45

56
from .Snapshot import Snapshot, SnapshotValue
67

python/selfie-lib/selfie_lib/Snapshot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from typing import Iterator, Union
1+
from collections.abc import Iterator
2+
from typing import Union
23

34
from .ArrayMap import ArrayMap
45
from .LineReader import _to_unix

python/selfie-lib/selfie_lib/SnapshotSystem.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from abc import ABC, abstractmethod
2+
from collections.abc import ByteString
23
from enum import Enum, auto
3-
from typing import ByteString, Optional
4+
from typing import Optional
45

56
from .CommentTracker import CommentTracker
67
from .FS import FS

python/selfie-lib/selfie_lib/WithinTestGC.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
from collections.abc import Iterable
12
from threading import Lock
2-
from typing import Iterable, List, Tuple
3+
from typing import List, Tuple
34

45
from .ArrayMap import ArrayMap, ArraySet
56
from .Snapshot import Snapshot

0 commit comments

Comments
 (0)