Bump mypy-strict-kwargs to 2026.8.25 - #3167
Merged
Merged
Conversation
2026.8.20.1 lost the value type behind ``SomeEnum.value`` and reported decorators such as ``@beartype`` as positional calls. Both are fixed in 2026.8.25, so the ``ignore_names`` opt-outs added for them are no longer needed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CACFJDTrtojHAEbXRGoxAg
2026.8.25.1 also stops reporting a positional argument which lands in a
``*args`` parameter, such as ``print("hello")``.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CACFJDTrtojHAEbXRGoxAg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mypy-strict-kwargs2026.08.20.1 shipped two regressions, fixed in2026.8.25 by adamtheturtle/mypy-strict-kwargs#796:
get_attribute_hookclaimed every attribute name and so shadowedmypy's own default-plugin hooks, which is what gives
SomeEnum.valueits real type; every enum
.valueaccess degraded toAny.call-argcheck reported decoratorapplications such as
@beartype, which have no keyword form.This bumps the pin and drops the
ignore_namesopt-outs that were addedfor the second regression. Verified locally: mypy is clean without them.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CACFJDTrtojHAEbXRGoxAg
Note
Low Risk
Dev-only tooling pin and config cleanup; no runtime or application code changes.
Overview
Upgrades the dev dependency
mypy-strict-kwargsfrom2026.8.20.1to2026.8.25.1to pick up fixes for two regressions in the older release (overly broad attribute hooks breaking enum.valuetyping, and false positives on decorator applications like@beartype).Removes the
[tool.mypy_strict_kwargs]ignore_namesworkaround that had been added for those decorator false positives, since mypy is expected to pass without those opt-outs on the new version.Reviewed by Cursor Bugbot for commit f6d7be9. Bugbot is set up for automated code reviews on this repo. Configure here.