nixpy icon indicating copy to clipboard operation
nixpy copied to clipboard

Disable check for __eq__ on subclasses

Open achilleas-k opened this issue 5 years ago • 0 comments

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.

achilleas-k avatar Nov 20 '20 13:11 achilleas-k