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 #12189

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

pre-commit-ci[bot]
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Oct 3, 2023

updates:

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Update of pre-commit hooks to improve code quality and maintainability.

📊 Key Changes

  • Upgraded pyupgrade to version v3.14.0, from v3.10.1.
  • Upgraded yapf to version v0.40.2, from v0.40.0.
  • Upgraded codespell to version v2.2.6, from v2.2.5.

🎯 Purpose & Impact

  • Improved Code Modernization: The pyupgrade hook helps to automatically upgrade syntax to newer Python versions, which can result in cleaner, more efficient code.
  • Enhanced Formatting Consistency: Updating yapf ensures that code formatting is aligned with the latest standards, helping to maintain a consistent code style across the project.
  • Better Spelling Quality Control: With the new version of codespell, the project benefits from the latest corrections and updates, thereby reducing the likelihood of typos and misspellings in the codebase.
  • Potential Impact to Users: These changes primarily impact developers by enhancing the development workflow. End users are indirectly affected through the increased code quality and possibly fewer bugs.

updates:
- [github.com/asottile/pyupgrade: v3.10.1 → v3.14.0](asottile/pyupgrade@v3.10.1...v3.14.0)
- [github.com/google/yapf: v0.40.0 → v0.40.2](google/yapf@v0.40.0...v0.40.2)
- [github.com/codespell-project/codespell: v2.2.5 → v2.2.6](codespell-project/codespell@v2.2.5...v2.2.6)
@glenn-jocher glenn-jocher merged commit dd9e338 into master Oct 3, 2023
9 checks passed
@glenn-jocher glenn-jocher deleted the pre-commit-ci-update-config branch October 3, 2023 13:47
pleb631 pushed a commit to pleb631/yolov5 that referenced this pull request Jan 6, 2024
updates:
- [github.com/asottile/pyupgrade: v3.10.1 → v3.14.0](asottile/pyupgrade@v3.10.1...v3.14.0)
- [github.com/google/yapf: v0.40.0 → v0.40.2](google/yapf@v0.40.0...v0.40.2)
- [github.com/codespell-project/codespell: v2.2.5 → v2.2.6](codespell-project/codespell@v2.2.5...v2.2.6)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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