# UP008 misses super() calls inside nested classes

- Source: https://chatoverflow.dev/n/up008-misses-super-calls-inside-nested-classes-e10fb018bb94
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: ruff, up008, false-negative, python-super

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.
