pyrefly-numpy-stubs 1.3.1__tar.gz → 1.4.0.dev1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: pyrefly-numpy-stubs
3
- Version: 1.3.1
3
+ Version: 1.4.0.dev1
4
4
  Summary: NumPy type stubs with array-shape tracking, maintained by Pyrefly
5
5
  Project-URL: homepage, https://pyrefly.org
6
6
  Project-URL: documentation, https://pyrefly.org/en/docs/
@@ -33,7 +33,7 @@ Classifier: Programming Language :: Python
33
33
  Classifier: Programming Language :: Python :: 3
34
34
  Classifier: Typing :: Stubs Only
35
35
  Requires-Python: >=3.12
36
- Requires-Dist: pyrefly-shape-extensions==1.3.1
36
+ Requires-Dist: pyrefly-shape-extensions==1.4.0.dev1
37
37
  Description-Content-Type: text/markdown
38
38
 
39
39
  # pyrefly-numpy-stubs
@@ -4,7 +4,7 @@
4
4
  # LICENSE file in the root directory of this source tree.
5
5
 
6
6
  from builtins import bool as py_bool
7
- from collections.abc import Sequence
7
+ from collections.abc import Iterator, Sequence
8
8
  from types import EllipsisType
9
9
  from typing import Any, Final, Literal, overload, SupportsIndex
10
10
 
@@ -376,6 +376,7 @@ from numpy.matrixlib import (
376
376
  )
377
377
  from shape_extensions import (
378
378
  broadcast as _broadcast_shape,
379
+ Elements,
379
380
  Flag,
380
381
  Index,
381
382
  index_shape,
@@ -384,6 +385,7 @@ from shape_extensions import (
384
385
  IntTuples,
385
386
  IntVar,
386
387
  MapIntTuples,
388
+ RegularNestedList,
387
389
  )
388
390
 
389
391
  # Preserve NumPy's canonical re-exports before local shape-aware declarations.
@@ -420,6 +422,14 @@ class intp(generic): ...
420
422
 
421
423
  type _IndexScalar = int | bool_ | int32 | int64 | intp
422
424
  type _IndexSequence = Sequence[_IndexScalar] | Sequence[Sequence[_IndexScalar]]
425
+ type _ArrayIndex = (
426
+ _BasicIndex
427
+ | _IndexScalar
428
+ | _IndexSequence
429
+ | ndarray
430
+ | tuple[_BasicIndex | _IndexScalar | _IndexSequence | ndarray, ...]
431
+ )
432
+ type _ArrayScalar = None | bool | int | float | complex | str | bytes | generic
423
433
 
424
434
  __version__: Final[str]
425
435
  e: Final[float]
@@ -507,103 +517,186 @@ class ndarray[Shape: _Shape = _Shape, DType = Any]:
507
517
  @overload
508
518
  def __getitem__(
509
519
  self: ndarray[Shape, DType],
510
- key: _BasicIndex
511
- | _IndexScalar
512
- | _IndexSequence
513
- | ndarray
514
- | tuple[_BasicIndex | _IndexScalar | _IndexSequence | ndarray, ...],
520
+ key: _ArrayIndex,
515
521
  ) -> ndarray[IntTuple, DType]: ...
522
+ # Assignment preserves the receiver's shape; value broadcasting is gradual.
523
+ def __setitem__(self, key: _ArrayIndex, value: ArrayLike, /) -> None: ...
524
+ @overload
525
+ def __iter__[N: IntVar, M: IntVar](
526
+ self: ndarray[[N, M], DType], /
527
+ ) -> Iterator[ndarray[[M], DType]]: ...
528
+ # Scalar dtypes and iteration over other ranks remain gradual.
529
+ @overload
530
+ def __iter__(self, /) -> Iterator[Any]: ...
531
+ def __int__(self: ndarray[[]], /) -> int: ...
532
+ def __float__(self: ndarray[[]], /) -> float: ...
533
+ def __complex__(self: ndarray[[]], /) -> complex: ...
516
534
  # Only 2-D transpose is modeled for the NumPy shape-stub MVP.
517
535
  @property
518
536
  def T[N: IntVar, P: IntVar](
519
537
  self: ndarray[[N, P], DType],
520
538
  ) -> ndarray[[P, N], DType]: ...
521
- @overload
522
- def __add__(self, other: int | float) -> ndarray[Shape, DType]: ...
523
- @overload
524
- def __add__[OtherShape: _Shape](
525
- self, other: ndarray[OtherShape]
539
+ # Unpacking preserves gradual array shapes instead of using the scalar default.
540
+ def __add__[OtherShape: _Shape = []](
541
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
526
542
  ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
527
- @overload
528
- def __radd__(self, other: int | float) -> ndarray[Shape, DType]: ...
529
- @overload
530
- def __radd__[OtherShape: _Shape](
531
- self, other: ndarray[OtherShape]
543
+ def __radd__[OtherShape: _Shape = []](
544
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
532
545
  ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
533
- @overload
534
- def __sub__(self, other: int | float) -> ndarray[Shape, DType]: ...
535
- @overload
536
- def __sub__[OtherShape: _Shape](
537
- self, other: ndarray[OtherShape]
546
+ def __sub__[OtherShape: _Shape = []](
547
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
538
548
  ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
539
- @overload
540
- def __rsub__(self, other: int | float) -> ndarray[Shape, DType]: ...
541
- @overload
542
- def __rsub__[OtherShape: _Shape](
543
- self, other: ndarray[OtherShape]
549
+ def __rsub__[OtherShape: _Shape = []](
550
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
544
551
  ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
545
- @overload
546
- def __truediv__(self, other: int | float) -> ndarray[Shape, DType]: ...
547
- @overload
548
- def __truediv__[OtherShape: _Shape](
549
- self, other: ndarray[OtherShape]
552
+ def __truediv__[OtherShape: _Shape = []](
553
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
550
554
  ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
551
- @overload
552
- def __rtruediv__(self, other: int | float) -> ndarray[Shape, DType]: ...
553
- @overload
554
- def __rtruediv__[OtherShape: _Shape](
555
- self, other: ndarray[OtherShape]
555
+ def __rtruediv__[OtherShape: _Shape = []](
556
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
557
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
558
+ def __mul__[OtherShape: _Shape = []](
559
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
560
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
561
+ def __rmul__[OtherShape: _Shape = []](
562
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
563
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
564
+ def __floordiv__[OtherShape: _Shape = []](
565
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
566
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
567
+ def __rfloordiv__[OtherShape: _Shape = []](
568
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
556
569
  ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
570
+ def __mod__[OtherShape: _Shape = []](
571
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
572
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
573
+ def __rmod__[OtherShape: _Shape = []](
574
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
575
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
576
+ def __neg__(self) -> ndarray[Shape, DType]: ...
577
+ def __pos__(self) -> ndarray[Shape, DType]: ...
578
+ def __pow__[OtherShape: _Shape = []](
579
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
580
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
581
+ def __rpow__[OtherShape: _Shape = []](
582
+ self, other: ndarray[[*Elements[OtherShape]]] | int | float
583
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
584
+ # Scalar results also satisfy Python's truth-valued comparison protocols.
557
585
  @overload
558
- def __mul__(self, other: int | float) -> ndarray[Shape, DType]: ...
586
+ def __lt__(self: ndarray[[]], other: Any, /) -> Any: ...
559
587
  @overload
560
- def __mul__[OtherShape: _Shape](
561
- self, other: ndarray[OtherShape]
562
- ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
588
+ def __lt__[OtherShape: _Shape = []](
589
+ self,
590
+ other: ndarray[[*Elements[OtherShape]]]
591
+ | int
592
+ | float
593
+ | complex
594
+ | str
595
+ | bytes
596
+ | generic,
597
+ /,
598
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), _dtype[bool_]]: ...
563
599
  @overload
564
- def __rmul__(self, other: int | float) -> ndarray[Shape, DType]: ...
600
+ def __lt__(self, other: ArrayLike, /) -> ndarray[IntTuple, _dtype[bool_]]: ...
565
601
  @overload
566
- def __rmul__[OtherShape: _Shape](
567
- self, other: ndarray[OtherShape]
568
- ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
602
+ def __le__(self: ndarray[[]], other: Any, /) -> Any: ...
569
603
  @overload
570
- def __floordiv__(self, other: int | float) -> ndarray[Shape, DType]: ...
604
+ def __le__[OtherShape: _Shape = []](
605
+ self,
606
+ other: ndarray[[*Elements[OtherShape]]]
607
+ | int
608
+ | float
609
+ | complex
610
+ | str
611
+ | bytes
612
+ | generic,
613
+ /,
614
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), _dtype[bool_]]: ...
571
615
  @overload
572
- def __floordiv__[OtherShape: _Shape](
573
- self, other: ndarray[OtherShape]
574
- ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
616
+ def __le__(self, other: ArrayLike, /) -> ndarray[IntTuple, _dtype[bool_]]: ...
575
617
  @overload
576
- def __rfloordiv__(self, other: int | float) -> ndarray[Shape, DType]: ...
618
+ def __gt__(self: ndarray[[]], other: Any, /) -> Any: ...
577
619
  @overload
578
- def __rfloordiv__[OtherShape: _Shape](
579
- self, other: ndarray[OtherShape]
580
- ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
620
+ def __gt__[OtherShape: _Shape = []](
621
+ self,
622
+ other: ndarray[[*Elements[OtherShape]]]
623
+ | int
624
+ | float
625
+ | complex
626
+ | str
627
+ | bytes
628
+ | generic,
629
+ /,
630
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), _dtype[bool_]]: ...
581
631
  @overload
582
- def __mod__(self, other: int | float) -> ndarray[Shape, DType]: ...
632
+ def __gt__(self, other: ArrayLike, /) -> ndarray[IntTuple, _dtype[bool_]]: ...
583
633
  @overload
584
- def __mod__[OtherShape: _Shape](
585
- self, other: ndarray[OtherShape]
586
- ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
634
+ def __ge__(self: ndarray[[]], other: Any, /) -> Any: ...
635
+ @overload
636
+ def __ge__[OtherShape: _Shape = []](
637
+ self,
638
+ other: ndarray[[*Elements[OtherShape]]]
639
+ | int
640
+ | float
641
+ | complex
642
+ | str
643
+ | bytes
644
+ | generic,
645
+ /,
646
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), _dtype[bool_]]: ...
587
647
  @overload
588
- def __rmod__(self, other: int | float) -> ndarray[Shape, DType]: ...
648
+ def __ge__(self, other: ArrayLike, /) -> ndarray[IntTuple, _dtype[bool_]]: ...
589
649
  @overload
590
- def __rmod__[OtherShape: _Shape](
591
- self, other: ndarray[OtherShape]
592
- ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
593
- def __neg__(self) -> ndarray[Shape, DType]: ...
594
- def __pos__(self) -> ndarray[Shape, DType]: ...
650
+ def __eq__(self: ndarray[[]], other: Any, /) -> Any: ... # type: ignore[bad-override]
595
651
  @overload
596
- def __pow__(self, other: int | float) -> ndarray[Shape, DType]: ...
652
+ def __eq__[OtherShape: _Shape = []](
653
+ self,
654
+ other: ndarray[[*Elements[OtherShape]]]
655
+ | int
656
+ | float
657
+ | complex
658
+ | str
659
+ | bytes
660
+ | generic,
661
+ /,
662
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), _dtype[bool_]]: ...
597
663
  @overload
598
- def __pow__[OtherShape: _Shape](
599
- self, other: ndarray[OtherShape]
600
- ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
664
+ def __eq__(self, other: ArrayLike, /) -> ndarray[IntTuple, _dtype[bool_]]: ...
601
665
  @overload
602
- def __rpow__(self, other: int | float) -> ndarray[Shape, DType]: ...
666
+ def __ne__(self: ndarray[[]], other: Any, /) -> Any: ... # type: ignore[bad-override]
603
667
  @overload
604
- def __rpow__[OtherShape: _Shape](
605
- self, other: ndarray[OtherShape]
606
- ) -> ndarray[_broadcast_shape(Shape, OtherShape), DType]: ...
668
+ def __ne__[OtherShape: _Shape = []](
669
+ self,
670
+ other: ndarray[[*Elements[OtherShape]]]
671
+ | int
672
+ | float
673
+ | complex
674
+ | str
675
+ | bytes
676
+ | generic,
677
+ /,
678
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape), _dtype[bool_]]: ...
679
+ @overload
680
+ def __ne__(self, other: ArrayLike, /) -> ndarray[IntTuple, _dtype[bool_]]: ...
681
+ def __invert__(self) -> ndarray[Shape, DType]: ...
682
+ def __and__[OtherShape: _Shape = []](
683
+ self, other: ndarray[[*Elements[OtherShape]]] | _IndexScalar, /
684
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape)]: ...
685
+ def __or__[OtherShape: _Shape = []](
686
+ self, other: ndarray[[*Elements[OtherShape]]] | _IndexScalar, /
687
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape)]: ...
688
+ def __xor__[OtherShape: _Shape = []](
689
+ self, other: ndarray[[*Elements[OtherShape]]] | _IndexScalar, /
690
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape)]: ...
691
+ def __rand__[OtherShape: _Shape = []](
692
+ self, other: ndarray[[*Elements[OtherShape]]] | _IndexScalar, /
693
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape)]: ...
694
+ def __ror__[OtherShape: _Shape = []](
695
+ self, other: ndarray[[*Elements[OtherShape]]] | _IndexScalar, /
696
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape)]: ...
697
+ def __rxor__[OtherShape: _Shape = []](
698
+ self, other: ndarray[[*Elements[OtherShape]]] | _IndexScalar, /
699
+ ) -> ndarray[_broadcast_shape(Shape, OtherShape)]: ...
607
700
  def __matmul__[OtherShape: _Shape](
608
701
  self, other: ndarray[OtherShape]
609
702
  ) -> ndarray[matmul_shape(Shape, OtherShape), DType]: ...
@@ -1141,10 +1234,120 @@ matvec: _MatvecUFunc
1141
1234
  vecdot: _VecdotUFunc
1142
1235
  vecmat: _VecmatUFunc
1143
1236
 
1237
+ # Constructor overloads preserve dtype only when it is omitted, preserve shape only for
1238
+ # `ndmin=0`, and delegate non-None `like` dispatch with an `Any` result.
1239
+ @overload
1240
+ def array[Shape: _Shape, DType](
1241
+ object: ndarray[Shape, DType],
1242
+ dtype: None = None,
1243
+ *,
1244
+ copy: bool | None = ...,
1245
+ order: str | None = None,
1246
+ subok: bool = ...,
1247
+ ndmin: Literal[0] = 0,
1248
+ like: None = None,
1249
+ ) -> ndarray[Shape, DType]: ...
1250
+ @overload
1251
+ def array[Shape: _Shape](
1252
+ object: ndarray[Shape, Any],
1253
+ dtype: Any,
1254
+ *,
1255
+ copy: bool | None = ...,
1256
+ order: str | None = None,
1257
+ subok: bool = ...,
1258
+ ndmin: Literal[0] = 0,
1259
+ like: None = None,
1260
+ ) -> ndarray[Shape]: ...
1261
+ @overload
1262
+ def array[Shape: _Shape = []](
1263
+ object: _ArrayScalar | RegularNestedList[Shape, _ArrayScalar],
1264
+ dtype: Any = ...,
1265
+ *,
1266
+ copy: bool | None = ...,
1267
+ order: str | None = None,
1268
+ subok: bool = ...,
1269
+ ndmin: Literal[0] = 0,
1270
+ like: None = None,
1271
+ ) -> ndarray[Shape]: ...
1272
+ @overload
1273
+ def array(
1274
+ object: Any,
1275
+ dtype: Any = ...,
1276
+ *,
1277
+ copy: bool | None = ...,
1278
+ order: str | None = None,
1279
+ subok: bool = ...,
1280
+ ndmin: int = ...,
1281
+ like: None = None,
1282
+ ) -> ndarray[IntTuple]: ...
1283
+ @overload
1284
+ def array(
1285
+ object: Any,
1286
+ dtype: Any = ...,
1287
+ *,
1288
+ copy: bool | None = ...,
1289
+ order: str | None = None,
1290
+ subok: bool = ...,
1291
+ ndmin: int = ...,
1292
+ like: Any,
1293
+ ) -> Any: ...
1294
+ @overload
1295
+ def asarray[Shape: _Shape, DType](
1296
+ a: ndarray[Shape, DType],
1297
+ dtype: None = None,
1298
+ order: str | None = None,
1299
+ *,
1300
+ device: Any = ...,
1301
+ copy: bool | None = ...,
1302
+ like: None = None,
1303
+ ) -> ndarray[Shape, DType]: ...
1304
+ @overload
1305
+ def asarray[Shape: _Shape](
1306
+ a: ndarray[Shape, Any],
1307
+ dtype: Any,
1308
+ order: str | None = None,
1309
+ *,
1310
+ device: Any = ...,
1311
+ copy: bool | None = ...,
1312
+ like: None = None,
1313
+ ) -> ndarray[Shape]: ...
1314
+ @overload
1315
+ def asarray[Shape: _Shape = []](
1316
+ a: _ArrayScalar | RegularNestedList[Shape, _ArrayScalar],
1317
+ dtype: Any = ...,
1318
+ order: str | None = None,
1319
+ *,
1320
+ device: Any = ...,
1321
+ copy: bool | None = ...,
1322
+ like: None = None,
1323
+ ) -> ndarray[Shape]: ...
1324
+ @overload
1325
+ def asarray(
1326
+ a: Any,
1327
+ dtype: Any = ...,
1328
+ order: str | None = None,
1329
+ *,
1330
+ device: Any = ...,
1331
+ copy: bool | None = ...,
1332
+ like: None = None,
1333
+ ) -> ndarray[IntTuple]: ...
1334
+ @overload
1335
+ def asarray(
1336
+ a: Any,
1337
+ dtype: Any = ...,
1338
+ order: str | None = None,
1339
+ *,
1340
+ device: Any = ...,
1341
+ copy: bool | None = ...,
1342
+ like: Any,
1343
+ ) -> Any: ...
1144
1344
  def round[Shape: _Shape](x: ndarray[Shape]) -> ndarray[Shape]: ...
1345
+ @overload
1145
1346
  def clip[Shape: _Shape](
1146
1347
  a: ndarray[Shape], a_min: int | float, a_max: int | float
1147
1348
  ) -> ndarray[Shape]: ...
1349
+ @overload
1350
+ def clip(a: ArrayLike, a_min: ArrayLike | None, a_max: ArrayLike | None) -> Any: ...
1148
1351
  def fill_diagonal[N: IntVar, DType](
1149
1352
  a: ndarray[[N, N], DType],
1150
1353
  val: Any,
@@ -1203,6 +1406,7 @@ def mean[
1203
1406
  ](
1204
1407
  a: ndarray[Shape, DType], axis: Axis = None, *, keepdims: KeepDims = False
1205
1408
  ) -> ndarray[reduce_shape(Shape, Axis, KeepDims), Any]: ...
1409
+ @overload
1206
1410
  def min[
1207
1411
  Shape: _Shape,
1208
1412
  DType,
@@ -1211,6 +1415,11 @@ def min[
1211
1415
  ](
1212
1416
  a: ndarray[Shape, DType], axis: Axis = None, *, keepdims: KeepDims = False
1213
1417
  ) -> ndarray[reduce_shape(Shape, Axis, KeepDims), Any]: ...
1418
+ @overload
1419
+ def min(
1420
+ a: Sequence[ArrayLike], axis: _Axis = None, *, keepdims: py_bool = False
1421
+ ) -> Any: ...
1422
+ @overload
1214
1423
  def max[
1215
1424
  Shape: _Shape,
1216
1425
  DType,
@@ -1220,6 +1429,10 @@ def max[
1220
1429
  a: ndarray[Shape, DType], axis: Axis = None, *, keepdims: KeepDims = False
1221
1430
  ) -> ndarray[reduce_shape(Shape, Axis, KeepDims), Any]: ...
1222
1431
  @overload
1432
+ def max(
1433
+ a: Sequence[ArrayLike], axis: _Axis = None, *, keepdims: py_bool = False
1434
+ ) -> Any: ...
1435
+ @overload
1223
1436
  def argmin[N: IntVar, M: IntVar](
1224
1437
  a: ndarray[[N, M]],
1225
1438
  axis: Literal[0, -2],
@@ -39,7 +39,7 @@ from numpy.linalg._linalg import (
39
39
  )
40
40
  from shape_extensions import Int, IntVar
41
41
 
42
- from .. import ndarray
42
+ from .. import floating, ndarray
43
43
 
44
44
  class LinAlgError(ValueError): ...
45
45
 
@@ -70,6 +70,14 @@ def norm[N: IntVar, M: IntVar, DType](
70
70
  keepdims: Literal[True],
71
71
  ) -> ndarray[[N, M, 1], DType]: ...
72
72
  @overload
73
+ def norm(
74
+ x: ndarray,
75
+ ord: Any = None,
76
+ axis: None = None,
77
+ keepdims: Literal[False] = False,
78
+ **kwargs: Any,
79
+ ) -> floating: ...
80
+ @overload
73
81
  def norm(
74
82
  x: Any,
75
83
  ord: Any = None,
@@ -8,7 +8,7 @@ description = "NumPy type stubs with array-shape tracking, maintained by Pyrefly
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.12"
10
10
  license = { file = "LICENSE" }
11
- version = "1.3.1"
11
+ version = "1.4.0.dev1"
12
12
  keywords = ["typechecker", "typechecking", "stubs", "numpy"]
13
13
  classifiers = [
14
14
  "Development Status :: 4 - Beta",
@@ -18,7 +18,7 @@ classifiers = [
18
18
  "Typing :: Stubs Only",
19
19
  ]
20
20
  dependencies = [
21
- "pyrefly-shape-extensions==1.3.1",
21
+ "pyrefly-shape-extensions==1.4.0.dev1",
22
22
  ]
23
23
 
24
24
  [project.urls]