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

chore(pre-commit): auto update hooks #109

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Conversation

JoseRZapata
Copy link
Owner

@JoseRZapata JoseRZapata commented Sep 30, 2024

This is an automation, check the updated pre-commit hooks and target files

Summary by Sourcery

Update pre-commit hooks for Ruff and Commitizen to their latest versions to ensure the use of updated linting and commit message standards.

Build:

  • Update pre-commit hook for Ruff to version v0.6.8.
  • Update pre-commit hook for Commitizen to version v3.29.1.

@JoseRZapata JoseRZapata added the automerge Automatically merge PRs that meet the criteria label Sep 30, 2024
Copy link

sourcery-ai bot commented Sep 30, 2024

Reviewer's Guide by Sourcery

This pull request updates the versions of two pre-commit hooks: Ruff and Commitizen. The changes are minor version updates, which typically include bug fixes and small improvements.

No sequence diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update Ruff pre-commit hook version
  • Bump Ruff version from v0.6.7 to v0.6.8
{{cookiecutter.repo_name}}/.pre-commit-config.yaml
Update Commitizen pre-commit hook version
  • Bump Commitizen version from v3.29.0 to v3.29.1
{{cookiecutter.repo_name}}/.pre-commit-config.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @JoseRZapata - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 1 issue found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@@ -13,7 +13,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.7
rev: v0.6.8
hooks:
# Run the linter.s
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (typo): Fix typo in comment: 'linter.s' should be 'linters'

Copy link

codecov bot commented Sep 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (9bd07c2) to head (91d0511).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #109   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines           57        57           
=========================================
  Hits            57        57           

@JoseRZapata JoseRZapata merged commit 888fa1a into main Sep 30, 2024
7 checks passed
@JoseRZapata JoseRZapata deleted the auto-update-pre-commit-hooks branch September 30, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge PRs that meet the criteria
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant