Skip to content

Commit 51957d6

Browse files
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 <[email protected]>
1 parent 4574720 commit 51957d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

labgrid/remote/exporter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ def broken(self, reason):
9393
self.data["acquired"] = "<broken>"
9494
self.logger.error("marked as broken: %s", reason)
9595

96-
def _get_start_params(self): # pylint: disable=no-self-use
96+
def _get_start_params(self):
9797
return {}
9898

99-
def _get_params(self): # pylint: disable=no-self-use
99+
def _get_params(self):
100100
return {}
101101

102102
def _start(self, start_params):

labgrid/resource/udev.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def __attrs_post_init__(self):
6060
self.match.setdefault('SUBSYSTEM', 'usb')
6161
super().__attrs_post_init__()
6262

63-
def filter_match(self, device): # pylint: disable=unused-argument,no-self-use
63+
def filter_match(self, device): # pylint: disable=unused-argument
6464
return True
6565

6666
def suggest_match(self, device):

0 commit comments

Comments
 (0)