Skip to content

Commit

Permalink
Fix duplicate imports in type stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jul 1, 2023
1 parent a10be69 commit 7a9cf8f
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
Empty file modified run_linter.sh
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion ubelt/util_cache.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ from typing import Callable
from typing import Any
from _typeshed import Incomplete
from collections.abc import Generator
from typing import Any


class Cacher:
Expand Down
1 change: 0 additions & 1 deletion ubelt/util_func.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ from typing import Any
from typing import Callable
from typing import Dict
from typing import Iterable
from typing import Any


def identity(arg: Any | None = None, *args, **kwargs) -> Any:
Expand Down
2 changes: 0 additions & 2 deletions ubelt/util_futures.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import concurrent.futures
from typing import Callable
from typing import Any
from typing import List
import concurrent.futures
from _typeshed import Incomplete
from collections.abc import Generator
from typing import Any


class SerialFuture(concurrent.futures.Future):
Expand Down
1 change: 0 additions & 1 deletion ubelt/util_indexable.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ from typing import Any
from typing import Dict
from _typeshed import Incomplete
from collections.abc import Generator
from typing import Any


class IndexableWalker(Generator):
Expand Down
1 change: 0 additions & 1 deletion ubelt/util_stream.pyi
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import io
from typing import Type
from types import TracebackType
import io
from _typeshed import Incomplete


Expand Down

0 comments on commit 7a9cf8f

Please sign in to comment.