black
Tests / test_and_lint (push) Failing after 24s

This commit is contained in:
2026-10-07 16:03:15 +02:00
parent 4fc2116cfe
commit 1c07a78c59
+2 -5
View File
@@ -68,7 +68,6 @@ class MetadataWriter:
@property
def sidecar_path(self) -> Path:
...
return Path()
@property
@@ -83,11 +82,10 @@ class MetadataWriter:
def set_metadata(self):
if self.sidecar_path.exists():
params=["-overwrite_original"]
params = ["-overwrite_original"]
else:
params=["-o", "%f.xmp"]
params = ["-o", "%f.xmp"]
# TODO
...
def write_caption(self, caption: Caption):
existing = self.metadata.get(XMP_KEYS_CAPTION[0], "")
@@ -98,7 +96,6 @@ class MetadataWriter:
caption = f"{existing}. {_prefixed(caption)}"
metadata_tags = {key: caption for key in XMP_KEYS_CAPTION}
# TODO
...
def write_keywords(self, keywords: Keywords): ...