Skip to content

Commit 87361e5

Browse files
pre-commit-ci[bot]rlizzo
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 47acc52 commit 87361e5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lightning_app/storage/drive.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ def __init__(
5151
raise Exception(f"The id should be unique to identify your drive. Found `{self.id}`.")
5252

5353
if optimization and optimization not in self.__PROTOCOLS_OPTIMIZATIONS__[self.protocol]:
54-
raise Exception(f"This Drive protocol is not compatible with the {optimization} optimization. Available "
55-
f"optimizations for this protocol are: {self.__PROTOCOLS_OPTIMIZATIONS__[self.protocol]}")
54+
raise Exception(
55+
f"This Drive protocol is not compatible with the {optimization} optimization. Available "
56+
f"optimizations for this protocol are: {self.__PROTOCOLS_OPTIMIZATIONS__[self.protocol]}"
57+
)
5658

5759
self.root_folder = pathlib.Path(root_folder).resolve() if root_folder else os.getcwd()
5860
if not os.path.isdir(self.root_folder):

0 commit comments

Comments
 (0)