Skip to content

Disable check for __eq__ on subclasses #487

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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