Skip to content

Commit b081260

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 b120654 commit b081260

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

labgrid/remote/exporter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ def broken(self, reason):
9292
self.data["acquired"] = "<broken>"
9393
self.logger.error("marked as broken: %s", reason)
9494

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

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

101101
def _start(self, start_params):

labgrid/resource/udev.py

Lines changed: 1 addition & 1 deletion
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)