Skip to content

ci: pre-commit auto-update#393

Merged
jmgate merged 1 commit into
masterfrom
pre-commit-ci-update-config
May 12, 2026
Merged

ci: pre-commit auto-update#393
jmgate merged 1 commit into
masterfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci
Copy link
Copy Markdown
Contributor

@pre-commit-ci pre-commit-ci Bot commented May 11, 2026

updates:

Summary by Sourcery

Build:

  • Bump the mirrors-mypy pre-commit repo revision from v1.20.2 to v2.0.0.

updates:
- [github.com/pre-commit/mirrors-mypy: v1.20.2 → v2.0.0](pre-commit/mirrors-mypy@v1.20.2...v2.0.0)
@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 11, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the pre-commit mypy mirror hook from v1.20.2 to v2.0.0 in the pre-commit configuration so that CI uses mypy 2.0.0 during static type checking.

File-Level Changes

Change Details Files
Bump mypy pre-commit hook version to 2.0.0 in CI configuration.
  • Update the mypy mirror repository revision from v1.20.2 to v2.0.0 in the pre-commit configuration
  • Keep existing mypy hook configuration and additional dependencies unchanged (dateparser and types-dateparser)
.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. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

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
Copy Markdown

@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 - I've left some high level feedback:

  • Since mypy 2.0 introduced some breaking changes, double-check that your mypy config and command-line options used in pre-commit are still valid and don’t rely on deprecated flags or behaviors.
  • Consider verifying that the versions of dateparser and types-dateparser you rely on are compatible with mypy 2.0, as stricter or changed type checking may surface new issues around those dependencies.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Since mypy 2.0 introduced some breaking changes, double-check that your mypy config and command-line options used in pre-commit are still valid and don’t rely on deprecated flags or behaviors.
- Consider verifying that the versions of `dateparser` and `types-dateparser` you rely on are compatible with mypy 2.0, as stricter or changed type checking may surface new issues around those dependencies.

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.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.01%. Comparing base (8124ea7) to head (2332d98).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #393   +/-   ##
=======================================
  Coverage   94.01%   94.01%           
=======================================
  Files           2        2           
  Lines         167      167           
  Branches       37       37           
=======================================
  Hits          157      157           
  Misses          4        4           
  Partials        6        6           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jmgate jmgate merged commit 76c8499 into master May 12, 2026
15 checks passed
@jmgate jmgate deleted the pre-commit-ci-update-config branch May 12, 2026 15:11
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