Skip to content

Commit 211cb4b

Browse files
DimitriPapadopoulosMaanasArora
authored andcommitted
MNT: Apply ruff/Pyflakes rule F401, again
imported but unused
1 parent eb9580a commit 211cb4b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

numpy/_core/_type_aliases.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from collections.abc import Collection
2-
from typing import Any, Final, Literal as L, TypeAlias, TypedDict, type_check_only
2+
from typing import Final, Literal as L, TypeAlias, TypedDict, type_check_only
33

44
import numpy as np
55

numpy/polynomial/_polybase.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import abc
22
import decimal
33
import numbers
44
from collections.abc import Iterator, Mapping, Sequence
5-
from typing import Any, ClassVar, Final, Generic, Literal, LiteralString, Self, SupportsIndex, TypeAlias, overload
5+
from typing import Any, ClassVar, Generic, Literal, LiteralString, Self, SupportsIndex, TypeAlias, overload
66

77
from typing_extensions import TypeIs, TypeVar
88

numpy/polynomial/polyutils.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from collections.abc import Callable, Iterable, Sequence
22
from typing import (
3-
Any,
43
Final,
54
Literal,
65
SupportsIndex,

0 commit comments

Comments
 (0)