If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.
NOTE: As code is pushed to the original Pull Request, Sourcery will
re-run and update (force-push) this Pull Request with new refactorings as
necessary. If Sourcery finds no refactorings at any point, this Pull Request
will be closed automatically.
Improvement in logging duplicate images in the image cleaning utility.
đ Key Changes
Switched from old string formatting to f-string for better readability and performance.
đŻ Purpose & Impact
Enhances the clarity of the console output when the script identifies duplicate images.
F-strings offer a more concise and readable way to embed expressions inside string literals, which may lead to easier maintenance and potentially fewer bugs.
Users can more easily interpret the logs to understand which images have been recognized as duplicates.
Pull Request #16 refactored by Sourcery.
If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.
NOTE: As code is pushed to the original Pull Request, Sourcery will re-run and update (force-push) this Pull Request with new refactorings as necessary. If Sourcery finds no refactorings at any point, this Pull Request will be closed automatically.
See our documentation here.
Run Sourcery locally
Reduce the feedback loop during development by using the Sourcery editor plugin:
Review changes via command line
To manually merge these changes, make sure you're on the
add-format-workflow-20240101030505
branch, then run:Help us improve this pull request!
đ ď¸ PR Summary
Made with â¤ď¸ by Ultralytics Actions
đ Summary
Improvement in logging duplicate images in the image cleaning utility.
đ Key Changes
đŻ Purpose & Impact