Skip to content

Commit eb606ce

Browse files
authored
Merge pull request #820 from numpy/upgrade-dev-deps
2 parents 36c6a17 + 8685109 commit eb606ce

4 files changed

Lines changed: 39 additions & 39 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Changelog = "https://github.com/numpy/numtype/releases"
4646
numpy = ["numtype[numpy]"]
4747
lint = [
4848
"dprint-py>=0.51.1.0",
49-
"ruff>=0.14.10",
49+
"ruff>=0.14.11",
5050
]
5151
pytest = [
5252
{ include-group = "numpy" },
@@ -59,13 +59,13 @@ list_and_test = [
5959
]
6060
types = [
6161
{ include-group = "pytest" },
62-
"types-setuptools>=80.9.0.20251221",
62+
"types-setuptools>=80.9.0.20251223",
6363
"types-tabulate>=0.9.0.20241207",
6464
]
6565
basedpyright = [
6666
{ include-group = "numpy" },
6767
{ include-group = "types" },
68-
"basedpyright==1.37.0",
68+
"basedpyright==1.37.1",
6969
]
7070
mypy = [
7171
{ include-group = "types" },

src/_numtype/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
raise ImportError("_numtype should not be imported at runtime") # noqa: EM101, TRY003
1+
raise ImportError("_numtype should not be imported at runtime") # noqa: EM101, RUF067, TRY003

src/numpy-stubs/lib/_npyio_impl.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class NpzFile(Mapping[str, _nt.Array[_ScalarT_co]]):
9999
@overload
100100
def get(self, key: str, default: None = None, /) -> _nt.Array[_ScalarT_co] | None: ...
101101
@overload
102-
def get(self, key: str, default: _nt.Array[_ScalarT_co] | _T, /) -> _nt.Array[_ScalarT_co] | _T: ... # pyright: ignore[reportIncompatibleMethodOverride]
102+
def get(self, key: str, default: _nt.Array[_ScalarT_co] | _T, /) -> _nt.Array[_ScalarT_co] | _T: ...
103103

104104
#
105105
def close(self) -> None: ...

uv.lock

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

0 commit comments

Comments
 (0)