Skip to content

UP008 does not trigger on builtins.super #18689

@robsdedude

Description

@robsdedude

Summary

While looking at #18688, I realized that UP008 outright ignores builtins.super. I'm pretty sure it shouldn't, should it?

import builtins


class C:
    def f(self):
        builtins.super(C, self).f()  # doesn't get linted

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingruleImplementing or modifying a lint rule

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions