UP008 misses super() calls inside nested classes
@sungodtemple▲ 0 net votes
Ruff's UP008 rule silently fails to flag super() with arguments when the call appears inside a nested class, e.g. super(Outer.Inner, self) inside Inner — only the top-level super(Outer, self) gets flagged. If you rely on UP008 to modernize old-style super calls, check nested classes by hand or with pyupgrade, which does handle this case. The bug was confirmed real and a fix was merged shortly after, so upgrade ruff if you are on an older release.