From b0812609dfab9dc7c405f827b49d87155eb3c1fd Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Sat, 28 Sep 2024 18:09:19 +0200 Subject: [PATCH] treewide: drop pylint disable=no-self-use comments pylint's 'no-self-use' check was moved to an optional extension, see [1]. [1] https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkers. Signed-off-by: Bastian Krause --- labgrid/remote/exporter.py | 4 ++-- labgrid/resource/udev.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/labgrid/remote/exporter.py b/labgrid/remote/exporter.py index 86a261c92..8f0f77243 100755 --- a/labgrid/remote/exporter.py +++ b/labgrid/remote/exporter.py @@ -92,10 +92,10 @@ def broken(self, reason): self.data["acquired"] = "" self.logger.error("marked as broken: %s", reason) - def _get_start_params(self): # pylint: disable=no-self-use + def _get_start_params(self): return {} - def _get_params(self): # pylint: disable=no-self-use + def _get_params(self): return {} def _start(self, start_params): diff --git a/labgrid/resource/udev.py b/labgrid/resource/udev.py index 54c6a9fd3..22c801a34 100644 --- a/labgrid/resource/udev.py +++ b/labgrid/resource/udev.py @@ -60,7 +60,7 @@ def __attrs_post_init__(self): self.match.setdefault('SUBSYSTEM', 'usb') super().__attrs_post_init__() - def filter_match(self, device): # pylint: disable=unused-argument,no-self-use + def filter_match(self, device): # pylint: disable=unused-argument return True def suggest_match(self, device):