Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_font() fstring update #9208

Merged
merged 1 commit into from
Aug 29, 2022
Merged

check_font() fstring update #9208

merged 1 commit into from
Aug 29, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Aug 29, 2022

Signed-off-by: Glenn Jocher [email protected]

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced font file download URL handling in utility script.

πŸ“Š Key Changes

  • Modernized the construction of the font download URL to use an f-string.

🎯 Purpose & Impact

  • πŸš€ Purpose: Simplifies code and improves readability by using Python f-string formatting.
  • 🌐 Impact: Makes the code more maintainable and consistent with modern Python practices; there's no direct functionality change for end-users.

Signed-off-by: Glenn Jocher <[email protected]>
@glenn-jocher glenn-jocher self-assigned this Aug 29, 2022
@glenn-jocher glenn-jocher merged commit da22e01 into master Aug 29, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-2 branch August 29, 2022 16:10
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
Signed-off-by: Glenn Jocher <[email protected]>

Signed-off-by: Glenn Jocher <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant