Skip to content

Bump mypy-strict-kwargs to 2026.8.25 - #2507

Merged
adamtheturtle merged 2 commits into
mainfrom
bump-mypy-strict-kwargs-2026.8.25
Aug 25, 2026
Merged

Bump mypy-strict-kwargs to 2026.8.25#2507
adamtheturtle merged 2 commits into
mainfrom
bump-mypy-strict-kwargs-2026.8.25

Conversation

@adamtheturtle

Copy link
Copy Markdown
Member

mypy-strict-kwargs 2026.08.20.1 shipped two regressions, fixed in
2026.8.25 by adamtheturtle/mypy-strict-kwargs#796:

  • Its get_attribute_hook claimed every attribute name and so shadowed
    mypy's own default-plugin hooks, which is what gives SomeEnum.value
    its real type; every enum .value access degraded to Any.
  • The new overloaded-call call-arg check reported decorator
    applications such as @beartype, which have no keyword form.

This bumps the pin and drops the ignore_names opt-outs that were added
for the second regression. Verified locally: mypy is clean without them.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CACFJDTrtojHAEbXRGoxAg

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
@adamtheturtle
adamtheturtle merged commit 40b0d34 into main Aug 25, 2026
13 checks passed
@adamtheturtle
adamtheturtle deleted the bump-mypy-strict-kwargs-2026.8.25 branch August 25, 2026 08:22
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