Bump mypy from 2.1.0 to 2.2.0#48
Conversation
Bumps [mypy](https://github.com/python/mypy) from 2.1.0 to 2.2.0. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v2.1.0...v2.2.0) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.2.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe development requirements pin for ChangesDevelopment dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@requirements-dev.txt`:
- Line 6: Update the mypy hook version in the pre-commit configuration to
v2.2.0, matching the mypy==2.2.0 pin in requirements-dev.txt and keeping local
and CI checks consistent.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: d5e91fba-f8df-4bb6-a50d-fa684499deec
📒 Files selected for processing (1)
requirements-dev.txt
📜 Review details
⏰ Context from checks skipped due to timeout. (2)
- GitHub Check: CodeRabbit
- GitHub Check: lint
| responses==0.26.1 | ||
| ruff==0.15.20 | ||
| mypy==2.1.0 | ||
| mypy==2.2.0 |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf '\n## requirements-dev.txt\n'
git ls-files requirements-dev.txt .pre-commit-config.yaml
printf '\n-- requirements-dev.txt --\n'
cat -n requirements-dev.txt
printf '\n-- .pre-commit-config.yaml (relevant lines) --\n'
sed -n '1,120p' .pre-commit-config.yaml | cat -n
printf '\n## Search for mypy version references\n'
rg -n "mypy==|mirrors-mypy|v2\.1\.0|v2\.2\.0|mypy" requirements-dev.txt .pre-commit-config.yaml .github . || trueRepository: finallyjay/packagist-tracker
Length of output: 1726
Align the mypy hook with requirements-dev.txt
.pre-commit-config.yaml:17-23 still uses mirrors-mypy v2.1.0 while requirements-dev.txt pins mypy==2.2.0, so local pre-commit runs and CI can report different results. Bump the hook to v2.2.0 to keep the checks in sync.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@requirements-dev.txt` at line 6, Update the mypy hook version in the
pre-commit configuration to v2.2.0, matching the mypy==2.2.0 pin in
requirements-dev.txt and keeping local and CI checks consistent.
Source: MCP tools
Bumps mypy from 2.1.0 to 2.2.0.
Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
b3c4a5bMark release396f508[Chore] Update changelog for 2.2 (#21691)9592a9eUpload wasm wheels to PyPI (#21671)1dc6962Bump ast-serialize to 0.6.0 (#21664)96a7913Bump librt to 0.12.0 (#21663)5ef0902Fix the exportjson tool (.ff cache to .json conversion) (#21628)8d621adSupport --shadow-file with --native-parser (#21623)74ecdd8Sync typeshed (#21612)0cd1541[mypyc] Make function wrappers thread-safe on free-threaded builds (#21620)22a9cfd[mypyc] Make list remove and index thread-safe on free-threaded builds (#21614)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)