Skip to content

Commit

Permalink
build: typing_extensions
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <[email protected]>
  • Loading branch information
nstarman committed Jul 17, 2024
1 parent 68528b7 commit aed1b5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers = [
dynamic = ["version"]
dependencies = [
"jax",
"typing_extensions >= 4.8",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -140,6 +141,9 @@ ignore = [
"ISC001", # Conflicts with formatter
]

[tool.ruff.lint.isort]
extra-standard-library = ["typing_extensions"]

[tool.ruff.lint.per-file-ignores]
"tests/**" = ["T20"]
"noxfile.py" = ["T20"]
Expand Down
2 changes: 1 addition & 1 deletion src/immutable_map_jax/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

from collections.abc import ItemsView, Iterable, Iterator, KeysView, Mapping, ValuesView
from typing import Annotated, Any, TypeVar, overload
from typing_extensions import Doc

from jax.tree_util import register_pytree_node_class
from typing_extensions import Doc

_T = TypeVar("_T")
K = TypeVar("K")
Expand Down

0 comments on commit aed1b5b

Please sign in to comment.