Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 9, 2024
1 parent 94133bc commit 9e17883
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion examples/custom_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from dataclasses import dataclass

from asphalt.core import ContainerComponent, Context, run_application

from asphalt.serialization.api import CustomizableSerializer


Expand Down
1 change: 0 additions & 1 deletion examples/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import asyncio

from asphalt.core import ContainerComponent, Context, run_application

from asphalt.serialization.api import Serializer


Expand Down
1 change: 1 addition & 0 deletions src/asphalt/serialization/serializers/cbor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from typing import Any

import cbor2

from asphalt.core import qualified_name, resolve_reference

from ..api import CustomizableSerializer
Expand Down
3 changes: 2 additions & 1 deletion src/asphalt/serialization/serializers/msgpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

from typing import Any

from asphalt.core import resolve_reference
from msgpack import ExtType, packb, unpackb

from asphalt.core import resolve_reference

from ..api import CustomizableSerializer
from ..object_codec import DefaultCustomTypeCodec

Expand Down
2 changes: 1 addition & 1 deletion tests/test_component.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
from asphalt.core.context import Context

from asphalt.core.context import Context
from asphalt.serialization.api import CustomizableSerializer, Serializer
from asphalt.serialization.component import SerializationComponent
from asphalt.serialization.serializers.json import JSONSerializer
Expand Down

0 comments on commit 9e17883

Please sign in to comment.