Cleanup: Reformat with black

No functional changes.
This commit is contained in:
Sybren A. Stüvel
2023-11-02 14:40:27 +01:00
parent 74b3df5f99
commit b3fb7845c3
5 changed files with 11 additions and 9 deletions
+4 -3
View File
@@ -102,7 +102,7 @@ class Packer:
*,
noop=False,
compress=False,
relative_only=False
relative_only=False,
) -> None:
self.blendfile = bfile
self.project = project
@@ -475,8 +475,9 @@ class Packer:
# It is *not* used for any disk I/O, since the file may not even
# exist on the local filesystem.
bfile_pp = action.new_path
assert bfile_pp is not None, \
f"Action {action.path_action.name} on {bfile_path} has no final path set, unable to process"
assert (
bfile_pp is not None
), f"Action {action.path_action.name} on {bfile_path} has no final path set, unable to process"
# Use tempfile to create a unique name in our temporary directoy.
# The file should be deleted when self.close() is called, and not