Skip to content

Fix TypeVarTuple ABC inference, fixes #10972#3058

Open
kdkavanagh-jt wants to merge 1 commit into
pylint-dev:mainfrom
kdkavanagh-jt:pylint-10972
Open

Fix TypeVarTuple ABC inference, fixes #10972#3058
kdkavanagh-jt wants to merge 1 commit into
pylint-dev:mainfrom
kdkavanagh-jt:pylint-10972

Conversation

@kdkavanagh-jt
Copy link
Copy Markdown

Fixes inference around TypeVarTuple that causes multiple issues in pylint (pylint-dev/pylint#10972 and pylint-dev/pylint#10991)

@Pierre-Sassoulas Pierre-Sassoulas added the Enhancement ✨ Improvement to a component label May 20, 2026
@Pierre-Sassoulas Pierre-Sassoulas added this to the 4.2.0 milestone May 20, 2026
Copy link
Copy Markdown
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

Thank you for working on astroid. This LGTM but I'll let another maintainer review before merging.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.53%. Comparing base (447aaeb) to head (fc3ed6e).
⚠️ Report is 17 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3058      +/-   ##
==========================================
+ Coverage   93.42%   93.53%   +0.11%     
==========================================
  Files          92       92              
  Lines       11311    11331      +20     
==========================================
+ Hits        10567    10599      +32     
+ Misses        744      732      -12     
Flag Coverage Δ
linux 93.40% <100.00%> (+0.11%) ⬆️
pypy 93.53% <100.00%> (+0.11%) ⬆️
windows 93.51% <100.00%> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
astroid/nodes/node_classes.py 95.10% <100.00%> (+0.05%) ⬆️
astroid/protocols.py 90.97% <100.00%> (+0.92%) ⬆️

... and 12 files with indirect coverage changes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement ✨ Improvement to a component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants