Skip to content

Commit bd2f862

Browse files
committed
extra clean-up
1 parent d1f3d5f commit bd2f862

File tree

12 files changed

+0
-23
lines changed

12 files changed

+0
-23
lines changed

docs/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import importlib.metadata
42
from typing import Any
53

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ pre-commit = "*"
7373
pylint = "*"
7474
basedmypy = "*"
7575
basedpyright = "*"
76-
typing_extensions = ">=4.12.2,<4.13"
7776
# import dependencies for mypy:
7877
array-api-strict = "*"
7978
numpy = "*"
@@ -106,7 +105,6 @@ furo = ">=2023.08.17"
106105
myst-parser = ">=0.13"
107106
sphinx-copybutton = "*"
108107
sphinx-autodoc-typehints = "*"
109-
typing_extensions = ">=4.12.2,<4.13"
110108

111109
[tool.pixi.feature.docs.tasks]
112110
docs = { cmd = ["sphinx-build", ".", "build/"], cwd = "docs" }

src/array_api_extra/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from ._funcs import atleast_nd, cov, create_diagonal, expand_dims, kron, setdiff1d, sinc
42

53
__version__ = "0.3.3.dev0"

src/array_api_extra/_funcs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import warnings
42

53
from ._lib import _utils

src/array_api_extra/_lib/_compat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Allow packages that vendor both `array-api-extra` and
22
# `array-api-compat` to override the import location
3-
from __future__ import annotations
43

54
try:
65
from ..._array_api_compat_vendor import ( # pyright: ignore[reportMissingImports]

src/array_api_extra/_lib/_typing.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from types import ModuleType
42
from typing import Any
53

src/array_api_extra/_lib/_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from . import _compat
42
from ._typing import Array, ModuleType
53

tests/test_funcs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import contextlib
42
import warnings
53

tests/test_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
# data-apis/array-api-strict#6
42
import array_api_strict as xp # type: ignore[import-untyped] # pyright: ignore[reportMissingTypeStubs]
53
import pytest

tests/test_version.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations # https://github.com/pylint-dev/pylint/pull/9990
2-
31
import importlib.metadata
42

53
import array_api_extra as xpx

0 commit comments

Comments
 (0)