Skip to content

Commit

Permalink
Remove deprecated pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvervloesem committed Nov 26, 2022
1 parent 271da38 commit 403ea1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions pylintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[MESSAGES CONTROL]
disable=
format,
abstract-class-little-used,
abstract-method,
cyclic-import,
duplicate-code,
Expand All @@ -10,7 +9,6 @@ disable=
inconsistent-return-statements,
locally-disabled,
not-context-manager,
redefined-variable-type,
too-few-public-methods,
too-many-arguments,
too-many-branches,
Expand All @@ -30,4 +28,4 @@ disable=
cell-var-from-loop

[FORMAT]
expected-line-ending-format=LF
expected-line-ending-format=LF
2 changes: 0 additions & 2 deletions rhasspyhermes/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ def subscribe_topics(self, *topics):

self.pending_mqtt_topics.clear()

# pylint: disable=no-self-use
async def on_message(
self,
message: Message,
Expand All @@ -130,7 +129,6 @@ async def on_message(
"""Override to handle Hermes messages."""
yield None

# pylint: disable=no-self-use
async def on_message_blocking(
self,
message: Message,
Expand Down

0 comments on commit 403ea1c

Please sign in to comment.