Skip to content

Commit 7c94fa0

Browse files
authored
fix dependencies (#123)
1 parent 7cb4153 commit 7c94fa0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ build.targets.wheel.packages = ["src/cosmology"]
9191
version.source = "vcs"
9292

9393
[tool.mypy]
94-
python_version = 3.9
94+
python_version = 3.10
9595

9696
namespace_packages = true
9797
explicit_package_bases = true
@@ -142,7 +142,7 @@ filterwarnings = [
142142

143143

144144
[tool.ruff]
145-
target-version = "py39"
145+
target-version = "py310"
146146
line-length = 88
147147

148148
[tool.ruff.lint]

src/cosmology/api/_array_api/array.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
from typing import TYPE_CHECKING, Protocol, runtime_checkable
44

5-
from typing_extensions import Self
6-
75
if TYPE_CHECKING:
86
# STDLIB
9-
from types import EllipsisType # type: ignore[attr-defined]
7+
from types import EllipsisType
8+
from typing import Self
109

1110
# LOCAL
1211
from .dtype import DTypeConformant

0 commit comments

Comments
 (0)