Skip to content

Conversation

@pylint-backport
Copy link
Contributor

Backport 1496340 from #10724.

* Fix a false positive for ``unbalanced-tuple-unpacking`` when a tuple is assigned to a function call and the structure of the function's return value is ambiguous.

Closes #10721

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
(cherry picked from commit 1496340)
@Pierre-Sassoulas Pierre-Sassoulas added this to the 4.0.3 milestone Nov 8, 2025
@Pierre-Sassoulas Pierre-Sassoulas enabled auto-merge (squash) November 8, 2025 08:14
@Pierre-Sassoulas Pierre-Sassoulas added the False Positive 🦟 A message is emitted but nothing is wrong with the code label Nov 8, 2025
@codecov
Copy link

codecov bot commented Nov 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.97%. Comparing base (fc920b6) to head (4c09740).
⚠️ Report is 1 commits behind head on maintenance/4.0.x.

Additional details and impacted files

Impacted file tree graph

@@                  Coverage Diff                  @@
##           maintenance/4.0.x   #10726      +/-   ##
=====================================================
+ Coverage              95.96%   95.97%   +0.01%     
=====================================================
  Files                    176      176              
  Lines                  19518    19518              
=====================================================
+ Hits                   18731    18733       +2     
+ Misses                   787      785       -2     
Files with missing lines Coverage Δ
pylint/checkers/variables.py 97.28% <100.00%> (+0.13%) ⬆️
🚀 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

False Positive 🦟 A message is emitted but nothing is wrong with the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants