Skip to content

Commit

Permalink
Merge pull request #1521 from Bastian-Krause/bst/pylint-no-self-use
Browse files Browse the repository at this point in the history
treewide: drop pylint disable=no-self-use comments
  • Loading branch information
Emantor authored Oct 14, 2024
2 parents a0dda92 + b081260 commit f424c0b
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 f424c0b

Please sign in to comment.