From 82df8a80654d3b9c938a4903bb0a4ba0077d9b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Mon, 27 May 2019 14:16:51 +0200 Subject: [PATCH] Handle pylint suggestions --- .pylintrc | 1 + lib/tfw/event_handlers/event_handler_base.py | 1 - lib/tfw/event_handlers/fsm_aware.py | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index fd195bc..1cbae5d 100644 --- a/.pylintrc +++ b/.pylintrc @@ -6,6 +6,7 @@ disable = missing-docstring, too-few-public-methods, invalid-name [SIMILARITIES] +min-similarity-lines=6 ignore-comments=yes ignore-docstrings=yes ignore-imports=yes diff --git a/lib/tfw/event_handlers/event_handler_base.py b/lib/tfw/event_handlers/event_handler_base.py index bb3155f..95300fc 100644 --- a/lib/tfw/event_handlers/event_handler_base.py +++ b/lib/tfw/event_handlers/event_handler_base.py @@ -118,7 +118,6 @@ class EventHandlerBase(ABC): Perform cleanup actions such as releasing database connections and stuff like that. """ - pass @classmethod def get_local_instances(cls): diff --git a/lib/tfw/event_handlers/fsm_aware.py b/lib/tfw/event_handlers/fsm_aware.py index bec3633..13cea43 100644 --- a/lib/tfw/event_handlers/fsm_aware.py +++ b/lib/tfw/event_handlers/fsm_aware.py @@ -42,4 +42,3 @@ class FSMAware: :param kwargs: fsm_update 'data' field """ - pass