Skip to content

Commit

Permalink
Merge branch 'main' into require-codecov-upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby authored Nov 16, 2024
2 parents b142646 + ad1ad67 commit 9013215
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion numcodecs/checksum32.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from .compat import ensure_contiguous_ndarray, ndarray_copy
from .jenkins import jenkins_lookup3

if TYPE_CHECKING:
if TYPE_CHECKING: # pragma: no cover
from typing_extensions import Buffer

CHECKSUM_LOCATION = Literal['start', 'end']
Expand Down
6 changes: 3 additions & 3 deletions numcodecs/tests/test_zarr3.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import numpy as np
import pytest

if not TYPE_CHECKING:
zarr = pytest.importorskip("zarr")
else:
if TYPE_CHECKING: # pragma: no cover
import zarr
else:
zarr = pytest.importorskip("zarr")

import zarr.storage
from zarr.core.common import JSON
Expand Down

0 comments on commit 9013215

Please sign in to comment.