Skip to content

Conversation

@galt-tr
Copy link
Contributor

@galt-tr galt-tr commented Aug 11, 2025

🤖 Automated Pre-commit Hooks Update

This PR updates all pre-commit hooks to their latest versions.

📋 Changes Made

  • Updated hooks using pre-commit autoupdate --freeze for reproducible builds
  • Migrated configuration if needed
  • Number of hooks updated: 2
  • Automated update run on 2025-08-11 12:15:12 UTC

🔍 What's Updated

All hooks in .pre-commit-config.yaml have been updated to their latest compatible versions.

✅ Benefits

  • 🔧 Latest code quality tools and fixes
  • 🔒 Security improvements from updated dependencies
  • 🐛 Bug fixes in linting and formatting tools
  • 📦 Better compatibility with current codebase
  • 🚀 Performance improvements in linters

🧪 Testing Status

Pre-commit hooks were tested after update - check workflow logs for results.

📝 Next Steps

  1. Review the changes in the Files tab
  2. Check CI status - automated tests will verify compatibility
  3. Test locally with pre-commit run --all-files if desired
  4. Merge when ready - no manual action needed unless issues arise
  5. Close older pre-commit PRs if this update supersedes them

🔐 Security Notes

  • All Python packages installed use hash verification (--require-hashes)
  • Hook versions are frozen for reproducible builds
  • Configuration follows security best practices

🤖 Automation Details

  • Workflow: Update Pre-commit Hooks
  • Trigger: schedule
  • Branch: chore/update-pre-commit-hooks-20250811-1214 (timestamped for uniqueness)
  • Run ID: 16879699290

Note: This PR was created automatically. To customize updates:

  1. Modify .pre-commit-config.yaml manually
  2. Push changes to the chore/update-pre-commit-hooks-20250811-1214 branch
  3. Or close this PR and disable the scheduled workflow if updates are not desired

Automated pre-commit hook update:
- Updated hooks to latest versions using 'pre-commit autoupdate --freeze'
- Migrated configuration if needed
- Number of hooks updated: 2
- Generated on 2025-08-11 12:14:37 UTC
- Workflow: Update Pre-commit Hooks
- Run ID: 16879699290

🤖 Generated by GitHub Actions
@galt-tr galt-tr added chore Simple dependency updates or version bumps dependencies Dependency updates, version bumps, etc. labels Aug 11, 2025
@galt-tr galt-tr requested a review from icellan as a code owner August 11, 2025 12:15
@galt-tr
Copy link
Contributor Author

galt-tr commented Aug 11, 2025

📊 Configuration Changes

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 799b4c9..c2c2cbe 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -17,7 +17,7 @@ minimum_pre_commit_version: "3.7.0" # requires Python‑based hooks v2.0+
 repos:
   # ---------------------- Core hygiene hooks --------------------------
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
+    rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
     hooks:
       - id: check-added-large-files
       - id: end-of-file-fixer

💡 Tips for Testing

Quick test (recommended):

pre-commit run --all-files

Test specific hooks:

pre-commit run <hook-id> --all-files

Update hooks manually:

pre-commit autoupdate

@github-actions github-actions bot added the size/XS Very small change (≤10 lines) label Aug 11, 2025
@sonarqubecloud
Copy link

@github-actions github-actions bot added the update General updates label Aug 11, 2025
@codecov
Copy link

codecov bot commented Aug 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mrz1836 mrz1836 merged commit ccc39df into master Aug 11, 2025
29 checks passed
@github-actions github-actions bot deleted the chore/update-pre-commit-hooks-20250811-1214 branch August 11, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Simple dependency updates or version bumps dependencies Dependency updates, version bumps, etc. size/XS Very small change (≤10 lines) update General updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants