@@ -334,7 +334,9 @@ def querybuilder():
334334 }
335335 )
336336 # stream entity data to the archive
337- with get_progress_reporter ()(desc = 'Archiving database: ' , total = sum (entity_counts .values ())) as progress :
337+ with get_progress_reporter ()(
338+ desc = 'Archiving database: ' , total = sum (entity_counts .values ())
339+ ) as progress :
338340 for etype , ids in entity_ids .items ():
339341 if etype == EntityTypes .NODE and strip_checkpoints :
340342
@@ -391,7 +393,9 @@ def transform(d):
391393
392394 # stream node repository files to the archive
393395 if entity_ids [EntityTypes .NODE ]:
394- _stream_repo_files (archive_format .key_format , writer , entity_ids [EntityTypes .NODE ], backend , batch_size )
396+ _stream_repo_files (
397+ archive_format .key_format , writer , entity_ids [EntityTypes .NODE ], backend , batch_size
398+ )
395399
396400 EXPORT_LOGGER .report ('Finalizing archive creation...' )
397401
@@ -404,9 +408,9 @@ def transform(d):
404408 if e .errno == 28 : # No space left on device
405409 raise ArchiveExportError (
406410 f"Insufficient disk space in temporary directory '{ tmp_dir } '. "
407- f" Consider using --tmp-dir to specify a location with more available space."
411+ f' Consider using --tmp-dir to specify a location with more available space.'
408412 ) from e
409- raise ArchiveExportError (f" Failed to create temporary directory: { e } " ) from e
413+ raise ArchiveExportError (f' Failed to create temporary directory: { e } ' ) from e
410414
411415 EXPORT_LOGGER .report ('Archive created successfully' )
412416
0 commit comments