Skip to content

Commit cc96f03

Browse files
committed
Fix ruff-format: single line error message in upload_filepath
1 parent 4bdc882 commit cc96f03

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/datajoint/external.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,7 @@ def upload_filepath(self, local_filepath):
237237
try:
238238
relative_filepath = str(local_filepath.relative_to(self.storage.spec["stage"]).as_posix())
239239
except ValueError:
240-
raise DataJointError(
241-
f"The path {local_filepath.parent} is not in stage {self.storage.spec['stage']}"
242-
)
240+
raise DataJointError(f"The path {local_filepath.parent} is not in stage {self.storage.spec['stage']}")
243241
uuid = uuid_from_buffer(init_string=relative_filepath) # hash relative path, not contents
244242
contents_hash = uuid_from_file(local_filepath)
245243

0 commit comments

Comments
 (0)