Skip to content

Disable check for __eq__ on subclasses #487

@achilleas-k

Description

@achilleas-k

LGTM produces alerts for __eq__ not overridden when adding attributes. Entity objects are compared for equality based on their ID. LGTM expects subclasses to override __eq__ when attributes are added, but we don't need to.

We should find a way to disable these warnings for our Entity subclasses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions