Skip to content

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

Merged
glenn-jocher merged 4 commits intomasterfrom
pre-commit-ci-update-config
Dec 6, 2022
Merged

[pre-commit.ci] pre-commit suggestions#10409
glenn-jocher merged 4 commits intomasterfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci
Copy link
Copy Markdown
Contributor

@pre-commit-ci pre-commit-ci bot commented Dec 5, 2022

updates:

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Updated development dependencies to enhance code quality and maintainability.

📊 Key Changes

  • 🔼 Upgraded pre-commit-hooks from v4.3.0 to v4.4.0.
  • 🔼 Upgraded pyupgrade from v3.2.0 to v3.3.0, which is used to automatically upgrade syntax for newer versions of the language.
  • 🔼 Upgraded flake8 from 5.0.4 to 6.0.0, this tool helps with checking the code style.
  • ✂️ Simplified the list of ignored flake8 errors by consolidating them into a single line.
  • 🧹 Cleaned up unnecessary white lines in setup.cfg, for a more concise format.

🎯 Purpose & Impact

  • 🛠 The updates to these hooks and tools improve the quality checks on the codebase, ensuring it adheres to the latest best practices and style guidelines.
  • 🚀 These updates potentially prevent new issues and bugs from being introduced and make the code easier to read and maintain.
  • ⚙️ The consolidation of flake8 ignores into one line and removal of white lines in setup.cfg make the configuration cleaner, which is beneficial for maintainability and readability.

pre-commit-ci bot and others added 4 commits December 5, 2022 20:18
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.3.0...v4.4.0)
- [github.com/asottile/pyupgrade: v3.2.0 → v3.3.0](asottile/pyupgrade@v3.2.0...v3.3.0)
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](PyCQA/flake8@5.0.4...6.0.0)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher merged commit 0624384 into master Dec 6, 2022
@glenn-jocher glenn-jocher deleted the pre-commit-ci-update-config branch December 6, 2022 23:12
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