G-Node / G-Node/nixpy

Disable check for __eq__ on subclasses

Open
#487 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
22
Forks
29
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.