Skip to content

Commit

Permalink
Remove type checking guards
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Nov 9, 2024
1 parent add9842 commit 05254a6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions numcodecs/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
applications to dynamically register and look-up codec classes."""

import logging
from importlib.metadata import entry_points
from typing import TYPE_CHECKING
from importlib.metadata import EntryPoints, entry_points

from numcodecs.abc import Codec

if TYPE_CHECKING:
from importlib.metadata import EntryPoints

logger = logging.getLogger("numcodecs")
codec_registry: dict[str, Codec] = {}
entries: dict[str, "EntryPoints"] = {}
Expand Down

0 comments on commit 05254a6

Please sign in to comment.