Skip to content

Commit aca3fdc

Browse files
MAINT: Apply ruff/pyupgrade rule UP029
UP029 Unnecessary builtin imports: `bytes`, `int`, `object`, `str`
1 parent c346da8 commit aca3fdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/_core/numerictypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106

107107
# we don't export these for import *, but we do want them accessible
108108
# as numerictypes.bool, etc.
109-
from builtins import bool, int, float, complex, object, str, bytes
109+
from builtins import bool, int, float, complex, object, str, bytes # noqa: UP029
110110

111111

112112
# We use this later

0 commit comments

Comments
 (0)