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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pre-commit-ci[bot]
Copy link

@pre-commit-ci pre-commit-ci bot commented Mar 18, 2024

updates:

Summary by CodeRabbit

  • New Features

    • Updated to the latest versions of pre-commit tools, potentially enhancing performance and stability.
  • Bug Fixes

    • Improvements and bug fixes included in the upgraded ruff-pre-commit and mirrors-pyright repositories may enhance overall functionality.

Copy link

codecov bot commented Mar 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.00%. Comparing base (3dfca5f) to head (207951c).
Report is 4 commits behind head on main.

Current head 207951c differs from pull request most recent head 3180094

Please upload reports for the commit 3180094 to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage   68.00%   68.00%           
=======================================
  Files           5        5           
  Lines         175      175           
=======================================
  Hits          119      119           
  Misses         56       56           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

coderabbitai bot commented Mar 18, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The recent updates involve upgrading the versions of two repositories in the .pre-commit-config.yaml file. Changes to ruff-pre-commit and mirrors-pyright enhance functionality with potential bug fixes and improvements, while maintaining the overall configuration structure.

Changes

Files Change Summary
.pre-commit-config.yaml Updated ruff-pre-commit version from v0.4.10 to v0.6.1 and mirrors-pyright version from v1.1.368 to v1.1.376.

Sequence Diagram(s)

(No sequence diagram needed due to the simplicity of the changes.)

Poem

🐰 In the garden of code, we hop and we play,
With versions updated, we brighten the day!
New features and fixes, oh what a delight,
Let’s dance with the tools, everything feels right!
With each little change, we grow and we learn,
Here’s to our progress, it’s our turn! 🌼✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 324ee4a to ff2781d Compare March 25, 2024 19:37
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from ff2781d to 207951c Compare April 1, 2024 19:42
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from b9f5577 to ba2cb33 Compare April 15, 2024 19:52
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from ba2cb33 to eb9698a Compare April 22, 2024 19:37
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from fdae573 to 9262ee3 Compare May 6, 2024 19:44
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from fec0a23 to 82dec9b Compare May 20, 2024 19:29
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 82dec9b to 67d008d Compare May 27, 2024 19:41
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 67d008d to c6033a7 Compare June 3, 2024 19:49
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from f1dfa89 to 5744d47 Compare June 17, 2024 19:48
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 5744d47 to 52ad991 Compare June 24, 2024 19:48
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 3180094 to fef6af5 Compare July 8, 2024 19:35
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from fef6af5 to 0f340da Compare July 15, 2024 19:58
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from abcea70 to fc82789 Compare July 29, 2024 19:59
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from fc82789 to 8f7891f Compare August 5, 2024 20:22
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 0373277 and 8f7891f.

Files selected for processing (1)
  • .pre-commit-config.yaml (1 hunks)
Files skipped from review due to trivial changes (1)
  • .pre-commit-config.yaml

@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 8f7891f to f698566 Compare August 12, 2024 19:57
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 8f7891f and f698566.

Files selected for processing (1)
  • .pre-commit-config.yaml (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • .pre-commit-config.yaml

@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from f698566 to d7677ad Compare August 19, 2024 20:01
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between f698566 and d7677ad.

Files selected for processing (1)
  • .pre-commit-config.yaml (1 hunks)
Additional comments not posted (2)
.pre-commit-config.yaml (2)

78-78: Update to ruff-pre-commit version.

The ruff-pre-commit hook has been updated from v0.4.10 to v0.6.1. Ensure that this version is compatible with your project and that any new features or breaking changes are accounted for.

Verification successful

Update to ruff-pre-commit version is correctly configured.

The ruff-pre-commit hook is integrated into the project via .pre-commit-config.yaml and configured in pyproject.toml. The update to version v0.6.1 appears compatible with the existing configuration. Ensure to test the pre-commit hooks to confirm functionality.

  • .pre-commit-config.yaml: Contains the updated ruff hook.
  • pyproject.toml: Contains configuration settings for ruff.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify that the `ruff-pre-commit` update to v0.6.1 is compatible with the project.

# Test: Check for usage of ruff-pre-commit in the codebase. Expect: No issues or errors.
ast-grep --lang python --pattern $'import ruff'

Length of output: 48


Script:

#!/bin/bash
# Description: Search for any configuration or script files that mention `ruff`.

# Search for `ruff` in YAML, TOML, and shell script files.
rg 'ruff' --glob '*.{yaml,yml,toml,sh}'

Length of output: 350


83-83: Update to mirrors-pyright version.

The mirrors-pyright hook has been updated from v1.1.368 to v1.1.376. Verify that this version is compatible with your project and check for any changes in type checking behavior.

@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from a4a83c8 to b889c85 Compare September 2, 2024 20:00
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from b889c85 to 0a5b7cf Compare September 9, 2024 20:05
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 0a5b7cf to a822921 Compare September 16, 2024 20:02
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from a822921 to a8a5295 Compare September 23, 2024 20:06
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from a8a5295 to 2dabf6d Compare September 30, 2024 20:15
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 0871a23 to 8dd0c15 Compare October 14, 2024 20:25
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 8dd0c15 to 793aa33 Compare October 21, 2024 20:20
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 25a8840 to 2503dea Compare November 4, 2024 20:26
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 2503dea to d69831a Compare November 11, 2024 20:11
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 8cc2387 to 5186b30 Compare November 25, 2024 20:12
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 330e6b9 to c462376 Compare December 9, 2024 20:13
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from c462376 to 39af8c8 Compare December 16, 2024 20:14
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 57ea01d to faf1a17 Compare December 30, 2024 19:47
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from d4d70da to 874e43d Compare January 13, 2025 20:13
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 8284866 to fd8e71d Compare January 20, 2025 20:07
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from f4e3e1d to f9aa4ec Compare January 27, 2025 20:17
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 76210b0 to 313966f Compare February 10, 2025 20:21
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 510cc74 to d0436a7 Compare February 17, 2025 18:50
updates:
- [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](codespell-project/codespell@v2.3.0...v2.4.1)
- [github.com/editorconfig-checker/editorconfig-checker.python: 3.0.3 → 3.2.0](editorconfig-checker/editorconfig-checker.python@3.0.3...3.2.0)
- [github.com/rhysd/actionlint: v1.7.5 → v1.7.7](rhysd/actionlint@v1.7.5...v1.7.7)
- [github.com/executablebooks/mdformat: 0.7.21 → 0.7.22](hukkin/mdformat@0.7.21...0.7.22)
- [github.com/DavidAnson/markdownlint-cli2: v0.17.0 → v0.17.2](DavidAnson/markdownlint-cli2@v0.17.0...v0.17.2)
- [github.com/astral-sh/ruff-pre-commit: v0.8.4 → v0.9.7](astral-sh/ruff-pre-commit@v0.8.4...v0.9.7)
- [github.com/kumaraditya303/mirrors-pyright: v1.1.391 → v1.1.394](kumaraditya303/mirrors-pyright@v1.1.391...v1.1.394)
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 41a4973 to 2d4d1be Compare February 24, 2025 18:09
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.

0 participants