Skip to content
Snippets Groups Projects
Commit 6e190911 authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] Endpoint: replace NotImplementedError by NotImplemented in __eq__

parent 680fc5cb
No related branches found
No related tags found
1 merge request!65Pylint
Pipeline #5734 passed
......@@ -54,7 +54,7 @@ class Endpoint:
raise NotImplementedError("__str__ is not implemented")
def __eq__(self, other: Any) -> bool:
raise NotImplementedError("__eq__ is not implemented")
return NotImplemented
# required to type hint cls in classmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment