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 @property
def sidecar_path(self) -> Path: def sidecar_path(self) -> Path:
...
return Path() return Path()
@property @property
@@ -83,11 +82,10 @@ class MetadataWriter:
def set_metadata(self): def set_metadata(self):
if self.sidecar_path.exists(): if self.sidecar_path.exists():
params=["-overwrite_original"] params = ["-overwrite_original"]
else: else:
params=["-o", "%f.xmp"] params = ["-o", "%f.xmp"]
# TODO # TODO
...
def write_caption(self, caption: Caption): def write_caption(self, caption: Caption):
existing = self.metadata.get(XMP_KEYS_CAPTION[0], "") existing = self.metadata.get(XMP_KEYS_CAPTION[0], "")
@@ -98,7 +96,6 @@ class MetadataWriter:
caption = f"{existing}. {_prefixed(caption)}" caption = f"{existing}. {_prefixed(caption)}"
metadata_tags = {key: caption for key in XMP_KEYS_CAPTION} metadata_tags = {key: caption for key in XMP_KEYS_CAPTION}
# TODO # TODO
...
def write_keywords(self, keywords: Keywords): ... def write_keywords(self, keywords: Keywords): ...