Skip to content

Performance: cache ClassDef.ancestors() transitive walk - #3048

Open
Pierre-Sassoulas wants to merge 3 commits into
mainfrom
perf/cache-classdef-ancestors
Open

Performance: cache ClassDef.ancestors() transitive walk#3048
Pierre-Sassoulas wants to merge 3 commits into
mainfrom
perf/cache-classdef-ancestors

Merge branch 'main' into perf/cache-classdef-ancestors

6089a01
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 30, 2026 in 0s

93.70% (target 92.00%)

View this Pull Request on Codecov

93.70% (target 92.00%)

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.70%. Comparing base (da4a8cf) to head (6089a01).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3048      +/-   ##
==========================================
+ Coverage   93.67%   93.70%   +0.03%     
==========================================
  Files          93       93              
  Lines       11645    11675      +30     
==========================================
+ Hits        10908    10940      +32     
+ Misses        737      735       -2     
Files with missing lines Coverage Δ
astroid/nodes/scoped_nodes/scoped_nodes.py 93.58% <100.00%> (+0.22%) ⬆️

... and 3 files with indirect coverage changes

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