Skip to content

Commit e29c62b

Browse files
committed
🩹 add missing __all__
1 parent 381c74d commit e29c62b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

‎scipy-stubs/spatial/transform/rotation.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ from typing_extensions import deprecated
22

33
from . import _rotation
44

5+
__all__ = ["Rotation", "Slerp"]
6+
57
@deprecated("will be removed in SciPy v2.0.0")
68
class Rotation(_rotation.Rotation): ...
79

‎scipy-stubs/stats/_mgc.pyi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import optype.numpy as onp
77
from scipy._typing import ToRNG
88
from ._typing import BaseBunch
99

10+
__all__ = ["multiscale_graphcorr"]
11+
12+
###
13+
1014
_T = TypeVar("_T")
1115
_R = TypeVar("_R")
1216

@@ -16,13 +20,17 @@ class _MGCDict(TypedDict):
1620
opt_scale: Sequence[int | np.intp] # list of size 2
1721
null_dist: onp.Array1D[np.float64]
1822

23+
###
24+
1925
class MGCResult(BaseBunch[np.float64, np.float64, _MGCDict]):
2026
@property
2127
def statistic(self, /) -> np.float64: ...
2228
@property
2329
def pvalue(self, /) -> np.float64: ...
2430
@property
2531
def mgc_dict(self, /) -> _MGCDict: ...
32+
33+
#
2634
def __new__(_cls, statistic: np.float64, pvalue: np.float64, mgc_dict: _MGCDict) -> Self: ...
2735
def __init__(self, /, statistic: np.float64, pvalue: np.float64, mgc_dict: _MGCDict) -> None: ...
2836

0 commit comments

Comments
 (0)