Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ type = [
"mypy[faster-cache]==1.20.2",
"pyrefly==0.62.0",
"stubdefaulter>=0.1.0",
"ty==0.0.32",
"ty==0.0.33",
]
dev = [
{ include-group = "lint" },
Expand Down
4 changes: 2 additions & 2 deletions scipy-stubs/stats/_resampling.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class MonteCarloMethod(ResamplingMethod):
@dataclass
class PermutationMethod(ResamplingMethod):
# this is a workaround for the horrible way in which `rng` is declared at runtime
__match_args__: ClassVar[tuple[str, ...]] = "n_resamples", "batch", "rng" # pyright: ignore[reportIncompatibleVariableOverride] # pyrefly: ignore[bad-override]
__match_args__: ClassVar[tuple[str, ...]] = "n_resamples", "batch", "rng" # pyright:ignore[reportIncompatibleVariableOverride] # pyrefly:ignore[bad-override] # ty:ignore[invalid-attribute-override]

@property
def rng(self, /) -> onp.random.ToRNG | None: ...
Expand Down Expand Up @@ -118,7 +118,7 @@ class PermutationMethod(ResamplingMethod):
@dataclass(match_args=False)
class BootstrapMethod(ResamplingMethod):
# this is a workaround for the horrible way in which `rng` is declared at runtime
__match_args__: ClassVar[tuple[str, ...]] = "n_resamples", "batch", "rng", "method" # pyright: ignore[reportIncompatibleVariableOverride] # pyrefly: ignore[bad-override]
__match_args__: ClassVar[tuple[str, ...]] = "n_resamples", "batch", "rng", "method" # pyright:ignore[reportIncompatibleVariableOverride] # pyrefly:ignore[bad-override] # ty:ignore[invalid-attribute-override]

method: _BootstrapMethod = "BCa"

Expand Down
40 changes: 20 additions & 20 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading