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

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

Updated dependencies and improved code readability in YOLOv5 project.

📊 Key Changes

  • Bumped the version of pyupgrade from v3.3.1 to v3.3.2.
  • Upgraded yapf formatting tool from v0.32.0 to v0.33.0.
  • Enhanced code layout for the json.loads logic block in common.py.

🎯 Purpose & Impact

  • 💡 Dependencies Update: Ensuring the latest versions of tools (pyupgrade, yapf) are used, which might include bug fixes, security patches, and performance improvements.
  • 📖 Code Readability: Refactored a JSON parsing section for clarity, making it easier for developers to understand and maintain the code.
  • 🚀 Potential Impact: Users can expect more stable and possibly faster code executions with these updates, while developers benefit from improved code quality and maintainability.

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 cb93837 into master May 2, 2023
@glenn-jocher glenn-jocher deleted the pre-commit-ci-update-config branch May 2, 2023 20:14
bandakopi pushed a commit to irajcode/yolov5 that referenced this pull request Jul 20, 2023
* [pre-commit.ci] pre-commit suggestions

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)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

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.

1 participant