Skip to content

Commit e872112

Browse files
committed
Reformat with black/isort/ruff
1 parent 9979e15 commit e872112

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

aleph_message/exceptions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
class UnknownHashError(ValueError):
2-
...
1+
class UnknownHashError(ValueError): ...

aleph_message/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
from .abstract import BaseContent
1313
from .base import Chain, HashType, MessageType
14+
from .execution.base import MachineType, Payment, PaymentType # noqa
1415
from .execution.instance import InstanceContent
1516
from .execution.program import ProgramContent
16-
from .execution.base import PaymentType, MachineType, Payment # noqa
1717
from .item_hash import ItemHash, ItemType
1818

1919

aleph_message/models/execution/abstract.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@
55

66
from pydantic import Field
77

8-
from .environment import (
9-
FunctionEnvironment,
10-
HostRequirements,
11-
MachineResources,
12-
)
8+
from ..abstract import BaseContent, HashableModel
139
from .base import Payment
10+
from .environment import FunctionEnvironment, HostRequirements, MachineResources
1411
from .volume import MachineVolume
15-
from ..abstract import BaseContent, HashableModel
1612

1713

1814
class BaseExecutableContent(HashableModel, BaseContent, ABC):

aleph_message/models/execution/volume.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class AbstractVolume(HashableModel, ABC):
1616
mount: Optional[str] = None
1717

1818
@abstractmethod
19-
def is_read_only(self):
20-
...
19+
def is_read_only(self): ...
2120

2221

2322
class ImmutableVolume(AbstractVolume):

0 commit comments

Comments
 (0)