Skip to content

Commit 8ab59ce

Browse files
committed
Use pylint name instead of code for readability.
1 parent 701aeb1 commit 8ab59ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_irremote.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ class GenericDecode:
254254
# this here for back-compat, hence we disable pylint for that specific
255255
# complaint.
256256

257-
def bin_data(self, pulses): # pylint: disable=R0201
257+
def bin_data(self, pulses): # pylint: disable=no-self-use
258258
"Wraps the top-level function bin_data for backward-compatibility."
259259
return bin_data(pulses)
260260

261-
def decode_bits(self, pulses): # pylint: disable=R0201
261+
def decode_bits(self, pulses): # pylint: disable=no-self-use
262262
"Wraps the top-level function decode_bits for backward-compatibility."
263263
result = decode_bits(pulses)
264264
if isinstance(result, NECRepeatIRMessage):
@@ -268,7 +268,7 @@ def decode_bits(self, pulses): # pylint: disable=R0201
268268

269269
def _read_pulses_non_blocking(
270270
self, input_pulses, max_pulse=10000, pulse_window=0.10
271-
): # pylint: disable=R0201
271+
): # pylint: disable=no-self-use
272272
"""Read out a burst of pulses without blocking until pulses stop for a specified
273273
period (pulse_window), pruning pulses after a pulse longer than ``max_pulse``.
274274

0 commit comments

Comments
 (0)