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 without --select I #22

Closed
wants to merge 2 commits into from

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

This PR introduces minor formatting enhancements and cleans up import statements throughout the Ultralytics Wave repository.

📊 Key Changes

  • 📝 Workflow Formatting: Corrected spacing in branch lists within .github/workflows/format.yml.
  • 🛠️ Removed Unused Imports: Eliminated unnecessary import statements in wave_pytorch_gcp.py, train.py, and train_tf.py.

🎯 Purpose & Impact

  • 💡 Code Readability: Improves code clarity and maintainability by ensuring consistent formatting and removing clutter.
  • 🚀 Enhanced Efficiency: By cleaning up imports, the codebase becomes more efficient, reducing potential for confusion and errors.

This PR ensures the project remains clean, organized, and easier to navigate for both current and future contributors.

@glenn-jocher glenn-jocher deleted the refactor-20240616193858 branch June 16, 2024 17:54
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.

2 participants