Skip to content

Commit 7311f0a

Browse files
authored
MAINT: Fix I001 ruff error on main (numpy#29272)
1 parent b89320a commit 7311f0a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

numpy/_core/__init__.pyi

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ from .fromnumeric import (
6565
take,
6666
trace,
6767
transpose,
68+
transpose as permute_dims,
6869
var,
6970
)
70-
from .fromnumeric import transpose as permute_dims
7171
from .function_base import geomspace, linspace, logspace
7272
from .getlimits import finfo, iinfo
7373
from .memmap import memmap
@@ -91,6 +91,7 @@ from .numeric import (
9191
broadcast,
9292
can_cast,
9393
concatenate,
94+
concatenate as concat,
9495
convolve,
9596
copyto,
9697
correlate,
@@ -145,7 +146,6 @@ from .numeric import (
145146
zeros,
146147
zeros_like,
147148
)
148-
from .numeric import concatenate as concat
149149
from .numerictypes import (
150150
ScalarType,
151151
bool,
@@ -228,14 +228,22 @@ from .shape_base import (
228228
)
229229
from .umath import (
230230
absolute,
231+
absolute as abs,
231232
add,
232233
arccos,
234+
arccos as acos,
233235
arccosh,
236+
arccosh as acosh,
234237
arcsin,
238+
arcsin as asin,
235239
arcsinh,
240+
arcsinh as asinh,
236241
arctan,
242+
arctan as atan,
237243
arctan2,
244+
arctan2 as atan2,
238245
arctanh,
246+
arctanh as atanh,
239247
bitwise_and,
240248
bitwise_count,
241249
bitwise_or,
@@ -272,13 +280,15 @@ from .umath import (
272280
heaviside,
273281
hypot,
274282
invert,
283+
invert as bitwise_invert,
275284
isfinite,
276285
isinf,
277286
isnan,
278287
isnat,
279288
lcm,
280289
ldexp,
281290
left_shift,
291+
left_shift as bitwise_left_shift,
282292
less,
283293
less_equal,
284294
log,
@@ -303,11 +313,13 @@ from .umath import (
303313
pi,
304314
positive,
305315
power,
316+
power as pow,
306317
rad2deg,
307318
radians,
308319
reciprocal,
309320
remainder,
310321
right_shift,
322+
right_shift as bitwise_right_shift,
311323
rint,
312324
sign,
313325
signbit,
@@ -323,18 +335,6 @@ from .umath import (
323335
trunc,
324336
vecmat,
325337
)
326-
from .umath import absolute as abs
327-
from .umath import arccos as acos
328-
from .umath import arccosh as acosh
329-
from .umath import arcsin as asin
330-
from .umath import arcsinh as asinh
331-
from .umath import arctan as atan
332-
from .umath import arctan2 as atan2
333-
from .umath import arctanh as atanh
334-
from .umath import invert as bitwise_invert
335-
from .umath import left_shift as bitwise_left_shift
336-
from .umath import power as pow
337-
from .umath import right_shift as bitwise_right_shift
338338

339339
__all__ = [
340340
"False_",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy