Skip to content

Commit

Permalink
treewide: drop pylint disable=no-self-use comments
Browse files Browse the repository at this point in the history
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 <bst@pengutronix.de>
  • Loading branch information
Bastian-Krause committed Sep 30, 2024
1 parent 113d2fb commit 4b3140c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions labgrid/remote/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ def broken(self, reason):
self.data["acquired"] = "<broken>"
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):
Expand Down
2 changes: 1 addition & 1 deletion labgrid/resource/udev.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4b3140c

Please sign in to comment.