Skip to content

Fix base class inference for dataclasses with PEP 695 syntax (#2918)

fb6c011
Select commit
Loading
Failed to load commit list.
Merged

[Backport maintenance/4.0.x] Fix base class inference for dataclasses with PEP 695 syntax #2919

Fix base class inference for dataclasses with PEP 695 syntax (#2918)
fb6c011
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 26, 2025 in 0s

No report found to compare against

View this Pull Request on Codecov

No report found to compare against

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (maintenance/4.0.x@077c51f). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                  @@
##             maintenance/4.0.x    #2919   +/-   ##
====================================================
  Coverage                     ?   93.40%           
====================================================
  Files                        ?       92           
  Lines                        ?    11168           
  Branches                     ?        0           
====================================================
  Hits                         ?    10432           
  Misses                       ?      736           
  Partials                     ?        0           
Files with missing lines Coverage Δ
astroid/brain/brain_dataclasses.py 93.87% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.