Skip to content

Commit

Permalink
CTX-5783: Fixed linter error (image-extractor)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vuk Manojlovic committed Aug 20, 2024
1 parent 6850068 commit 4048cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/image-extractor/src/sample_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def generateSample(sample: ImageSample, parentClass: Optional[ImageDatasetClass]
try:
sample.metadataPath.link_to(samplePath / "metadata.json")
except AttributeError as e:
samplePath.joinpath("metadata.json").hardlink_to(sample.metadataPath)
samplePath.joinpath("metadata.json").hardlink_to(sample.metadataPath) # type: ignore[attr-defined]

imagePaths.append(samplePath)

Expand Down

0 comments on commit 4048cd4

Please sign in to comment.