Skip to content

Commit 469fd38

Browse files
authored
⬆️ bump ruff to 0.12.1 (#680)
2 parents 404f5c1 + c3b0990 commit 469fd38

File tree

5 files changed

+27
-23
lines changed

5 files changed

+27
-23
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extras = ["scipy-stubs[scipy]"]
4848
ci = ["packaging>=25.0"]
4949
lint = [
5050
{include-group = "extras"},
51-
"ruff>=0.12.0",
51+
"ruff>=0.12.1",
5252
"sp-repo-review[cli]>=2025.5.2",
5353
]
5454
type = [
@@ -103,7 +103,7 @@ args = [{name = "modules", positional = true, multiple = true, default = "scipy"
103103
extend-exclude = ["*.pyi", ".mypyignore"]
104104

105105
[tool.typos.default]
106-
extend-ignore-identifiers-re = ['ND|Nd|']
106+
extend-ignore-identifiers-re = ['ND|Nd']
107107

108108
[tool.mypy]
109109
strict = true

scipy-stubs/optimize/lbfgsb.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ __all__ = ["LbfgsInvHessProduct", "OptimizeResult", "fmin_l_bfgs_b", "zeros"]
77

88
@deprecated("will be removed in SciPy v2.0.0")
99
def zeros(shape: object, dtype: object = ..., order: object = ..., *, device: object = ..., like: object = ...) -> object: ...
10+
1011
@deprecated("will be removed in SciPy v2.0.0")
1112
class OptimizeResult(Any): ...
1213

@@ -29,6 +30,7 @@ def fmin_l_bfgs_b(
2930
callback: object = ...,
3031
maxls: object = ...,
3132
) -> object: ...
33+
3234
@deprecated("will be removed in SciPy v2.0.0")
3335
class LbfgsInvHessProduct:
3436
def __init__(self, /, sk: object, yk: object) -> None: ...

scipy-stubs/optimize/optimize.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ __all__ = [
2929

3030
@deprecated("will be removed in SciPy v2.0.0")
3131
def zeros(shape: object, dtype: object = ..., order: object = ..., *, device: object = ..., like: object = ...) -> object: ...
32+
3233
@deprecated("will be removed in SciPy v2.0.0")
3334
class OptimizeResult(Any): ...
3435

scipy-stubs/optimize/tnc.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ __all__ = ["OptimizeResult", "fmin_tnc", "zeros"]
77

88
@deprecated("will be removed in SciPy v2.0.0")
99
def zeros(shape: object, dtype: object = ..., order: object = ..., *, device: object = ..., like: object = ...) -> object: ...
10+
1011
@deprecated("will be removed in SciPy v2.0.0")
1112
class OptimizeResult(Any): ...
1213

uv.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)