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

Update Ruff to sort imports #76

Merged
merged 2 commits into from
Apr 13, 2024
Merged

Update Ruff to sort imports #76

merged 2 commits into from
Apr 13, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Apr 13, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved Python code formatting in GitHub Actions.

πŸ“Š Key Changes

  • Added comments explaining sorting Python imports alphabetically.
  • Introduced ruff check with options to fix and select issues, enhancing code quality.

🎯 Purpose & Impact

  • Purpose: To ensure Python code within the repository adheres more strictly to quality standards, focusing on readability and maintainability.
  • Impact: Contributors will experience a more streamlined code contribution process, with automated checks helping to ensure code consistency and quality. This can lead to fewer manual reviews needed for formatting issues, saving time and improving overall code health. πŸš€

@glenn-jocher glenn-jocher merged commit 6baedfd into main Apr 13, 2024
1 check passed
@glenn-jocher glenn-jocher deleted the ruff-sort branch April 13, 2024 15:13
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