Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2024
1 parent 8441481 commit 5c15932
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/array_api_jax_compat/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
array-api-jax-compat: Array-API JAX compatibility
"""


__all__: list[str] = []

from typing import Any, Protocol, TypeVar, runtime_checkable
Expand All @@ -30,8 +29,6 @@ class SupportsBufferProtocol(Protocol):
class NestedSequence(Protocol[_T_co]):
"""A nested sequence."""

def __getitem__(self, key: int, /) -> "_T_co | NestedSequence[_T_co]":
...
def __getitem__(self, key: int, /) -> "_T_co | NestedSequence[_T_co]": ...

def __len__(self, /) -> int:
...
def __len__(self, /) -> int: ...
1 change: 0 additions & 1 deletion tests/test_jax.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Test with JAX inputs."""


import jax.numpy as jnp
import pytest
from jax.experimental import array_api as jax_xp
Expand Down
1 change: 0 additions & 1 deletion tests/test_package.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Test the package itself."""


import importlib.metadata

import array_api_jax_compat as m
Expand Down

0 comments on commit 5c15932

Please sign in to comment.