From 1577a8087de9401892e70ccb63de3052d2796f87 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Fri, 28 Oct 2022 11:45:42 +0200
Subject: [PATCH] L2SS-983: Fix unrelated linting errors

---
 .../tangostationcontrol/clients/comms_client.py               | 4 ++--
 tangostationcontrol/tox.ini                                   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tangostationcontrol/tangostationcontrol/clients/comms_client.py b/tangostationcontrol/tangostationcontrol/clients/comms_client.py
index deb37f671..cfa989439 100644
--- a/tangostationcontrol/tangostationcontrol/clients/comms_client.py
+++ b/tangostationcontrol/tangostationcontrol/clients/comms_client.py
@@ -15,12 +15,12 @@ class AbstractCommClient(ABC):
     def stop(self):
         """ Stop communication with the client. """
 
-    def ping(self): # noqa: B027
+    @abstractmethod
+    def ping(self):
         """ Check whether the connection is still alive.
 
             Clients that override this method must raise an Exception if the
             connection died. """
-        pass
 
     @abstractmethod
     def setup_attribute(self, annotation, attribute):
diff --git a/tangostationcontrol/tox.ini b/tangostationcontrol/tox.ini
index 332d3777f..d528ccc75 100644
--- a/tangostationcontrol/tox.ini
+++ b/tangostationcontrol/tox.ini
@@ -118,4 +118,4 @@ commands =
 [flake8]
 filename = *.py,.stestr.conf,.txt
 ignore = B014, B019, W291, W293, W391, E111, E114, E121, E122, E123, E124, E126, E127, E128, E131, E201, E201, E202, E203, E221, E222, E225, E226, E231, E241, E251, E252, E261, E262, E265, E271, E301, E302, E303, E305, E306, E401, E402, E501, E502, E701, E712, E721, E731, F403, F523, F541, F841, H301, H306, H401, H403, H404, H405, W503
-exclude=.tox,.egg-info,libhdbpp-python, SNMP_mib_loading
+exclude=.tox,build,.egg-info,libhdbpp-python, SNMP_mib_loading
-- 
GitLab