Skip to content

N804 false positive for class Bar(type(foo)) #14675

@alexhenman

Description

@alexhenman
foo = {}

class Bar(type(foo)):
    def foo_method(self):
        pass

https://play.ruff.rs/240f9b93-2408-4aeb-814d-bb09629496da

Not sure if this might be related to the issue reported in #12736 and its fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedContributions especially welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions