From 20a6e092a54c22d4ce2ed6a2f3cca7a1b628af03 Mon Sep 17 00:00:00 2001 From: "Andres D. Molins" Date: Tue, 18 Jun 2024 12:10:30 +0200 Subject: [PATCH] Fix: Solve code quality issues. --- aleph_message/exceptions.py | 3 +-- aleph_message/models/execution/volume.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/aleph_message/exceptions.py b/aleph_message/exceptions.py index c8f7873..de043c3 100644 --- a/aleph_message/exceptions.py +++ b/aleph_message/exceptions.py @@ -1,2 +1 @@ -class UnknownHashError(ValueError): - ... +class UnknownHashError(ValueError): ... diff --git a/aleph_message/models/execution/volume.py b/aleph_message/models/execution/volume.py index 0fd0c9e..6102fba 100644 --- a/aleph_message/models/execution/volume.py +++ b/aleph_message/models/execution/volume.py @@ -16,8 +16,7 @@ class AbstractVolume(HashableModel, ABC): mount: Optional[str] = None @abstractmethod - def is_read_only(self): - ... + def is_read_only(self): ... class Config: extra = Extra.forbid