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

[pre-commit.ci] pre-commit suggestions #2056

Merged
merged 2 commits into from
May 2, 2023

Conversation

pre-commit-ci[bot]
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented May 1, 2023

updates:

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Enhancements to code quality tools and minor code refactoring in Ultralytics' YOLOv3 repository.

📊 Key Changes

  • Pre-commit Hook Updates: The versions of pyupgrade and yapf pre-commit hooks have been upgraded to v3.3.2 and v0.33.0 respectively.
  • Code Refactoring: Improved readability in models/common.py by reformatting the JSON object_hook lambda function.

🎯 Purpose & Impact

  • Improved Code Maintenance: Updating pre-commit hooks ensures the latest features and fixes are utilized, enhancing code quality and maintainability.
  • Enhanced Readability: The code refactoring provides better readability, making it easier for developers to understand and contribute to the project.
  • Potential Impact: Users should not experience any direct impact on functionality, but these changes contribute to a more robust and clean codebase. 🧹✨

updates:
- [github.com/asottile/pyupgrade: v3.3.1 → v3.3.2](asottile/pyupgrade@v3.3.1...v3.3.2)
- [github.com/google/yapf: v0.32.0 → v0.33.0](google/yapf@v0.32.0...v0.33.0)
@glenn-jocher glenn-jocher merged commit 2f7ef58 into master May 2, 2023
@glenn-jocher glenn-jocher deleted the pre-commit-ci-update-config branch May 2, 2023 20: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.

None yet

1 participant