Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pylint disable=no-self-use #1817

Merged
merged 1 commit into from
Jun 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions tools/auto_analyse_raw_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def display_binary(self, binary_str):

def add_data_code(self, bin_str, name="", footer=True):
"""Add the common "data" sequence of code to send the bulk of a message."""
# pylint: disable=no-self-use
code = []
nbits = len(bin_str)
code.append(f" // Data Section #{self.section_count}")
Expand All @@ -115,7 +114,6 @@ def add_data_code(self, bin_str, name="", footer=True):

def add_data_decode_code(self, bin_str, name="", footer=True):
"""Add the common "data" sequence code to decode the bulk of a message."""
# pylint: disable=no-self-use
code = []
nbits = len(bin_str)
code.extend([
Expand All @@ -139,7 +137,6 @@ def add_data_decode_code(self, bin_str, name="", footer=True):

def add_data_byte_code(self, bin_str, name="", ambles=None):
"""Add the code to send the data from an array."""
# pylint: disable=no-self-use
code = []
nbits = len(bin_str)
nbytes = nbits / 8
Expand Down Expand Up @@ -173,7 +170,6 @@ def add_data_byte_code(self, bin_str, name="", ambles=None):

def add_data_byte_decode_code(self, bin_str, name="", ambles=None):
"""Add the common byte-wise "data" sequence decode code."""
# pylint: disable=no-self-use
code = []
nbits = len(bin_str)
nbytes = nbits / 8
Expand Down