diff --git a/.pylintrc b/.pylintrc index a7573c8e..89cad4e0 100644 --- a/.pylintrc +++ b/.pylintrc @@ -78,9 +78,7 @@ confidence= # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use "--disable=all --enable=classes # --disable=W". -disable=C0330, - C0326, - abstract-method, +disable=abstract-method, attribute-defined-outside-init, bad-inline-option, bare-except, @@ -102,7 +100,6 @@ disable=C0330, no-else-break, no-else-continue, no-else-return, - no-self-use, no-value-for-parameter, not-an-iterable, protected-access, diff --git a/app/classes/web/websocket_helper.py b/app/classes/web/websocket_helper.py index 60eed795..1bcd06cd 100644 --- a/app/classes/web/websocket_helper.py +++ b/app/classes/web/websocket_helper.py @@ -19,7 +19,7 @@ class WebSocketHelper: def send_message( self, client, event_type: str, data - ): # pylint: disable=no-self-use + ): if client.check_auth(): message = str(json.dumps({"event": event_type, "data": data})) client.write_message_helper(message)