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

Code Refactor ruff check --fix --extend-select I #58

Merged
merged 2 commits into from
Jun 16, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jun 16, 2024

This Ultralytics PR refactors code to improve performance and readability. 🔄

Key changes include:

🚀 Optimized various functions for faster execution.
🧩 Simplified complex logic for better understanding and maintenance.
🗑️ Removed redundant code to streamline operations.
📚 Improved code structure and organization.

These changes aim to enhance the overall quality and efficiency of the code. 🌟

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Tweaks GitHub Actions to only run formatting checks on the main branch.

📊 Key Changes

  • Updated .github/workflows/format.yml to:
    • Remove the master branch from the list of branches that trigger the formatting workflow on push and pull request events.

🎯 Purpose & Impact

  • Streamline Workflow: Ensures that formatting checks are only run on the main branch, which simplifies the CI process and avoids unnecessary checks on the master branch.
  • Focus on Active Branch: By targeting only the main branch, this change helps maintain cleaner and more efficient workflows, particularly useful as many projects are transitioning from master to main as the primary branch.

@glenn-jocher glenn-jocher merged commit 7c7ce34 into main Jun 16, 2024
1 check passed
@glenn-jocher glenn-jocher deleted the refactor-20240616200945 branch June 16, 2024 18:40
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