Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Sep 11, 2024
1 parent 25cf22b commit d654197
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions referencing/jsonschema.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

from __future__ import annotations

from collections.abc import Sequence, Set
from typing import Any, Iterable, Union
from collections.abc import Iterable, Sequence, Set
from typing import Any, Union

from referencing import Anchor, Registry, Resource, Specification, exceptions
from referencing._attrs import frozen
Expand Down
9 changes: 1 addition & 8 deletions referencing/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@

from __future__ import annotations

from collections.abc import Mapping as Mapping
from typing import TYPE_CHECKING, Protocol, TypeVar

try:
from collections.abc import Mapping as Mapping

Mapping[str, str]
except TypeError: # pragma: no cover
from typing import Mapping as Mapping


if TYPE_CHECKING:
from referencing._core import Resolved, Resolver, Resource

Expand Down

0 comments on commit d654197

Please sign in to comment.