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

Add Ultralytics actions workflow in format.yml #12562

Closed

Conversation

UltralyticsAssistant
Copy link
Member

@UltralyticsAssistant UltralyticsAssistant commented Jan 1, 2024

This pull request adds a workflow to automatically format code and documentation.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

WARNING ⚠️ this PR is very large, summary may not cover all changes.

🌟 Summary

Enhancements to training, formatting, and exporting in YOLOv5.

📊 Key Changes

  • Addition of Ultralytics YOLOv5 format workflow to automatically format code and documentation in pull requests and main branch.
  • Code comments improved in benchmarks.py for clarity.
  • Minor code refactoring for consistency, such as assertion message fixes and syntax improvements.
  • Included emojis in logging messages for a more interactive experience.

🎯 Purpose & Impact

  • The new workflow ensures consistent code formatting, enhancing code quality and readability.
  • Refactored code and updated comments improve maintainability and understandability of the codebase.
  • The use of emojis in logging adds a touch of personality and can improve user engagement.
    Overall, these changes contribute positively to the developer experience and project's technical robustness without altering functionality.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 Hello @UltralyticsAssistant, thank you for submitting a YOLOv5 🚀 PR! To allow your work to be integrated as seamlessly as possible, we advise you to:

  • ✅ Verify your PR is up-to-date with ultralytics/yolov5 master branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by running git pull and git merge master locally.
  • ✅ Verify all YOLOv5 Continuous Integration (CI) checks are passing.
  • ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee

@glenn-jocher glenn-jocher deleted the add-format-workflow-20240101030510 branch January 1, 2024 21:23
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.

None yet

2 participants