Skip to content

Commit 8051047

Browse files
committed
pylinten
1 parent a6f8d38 commit 8051047

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/adafruit_blinka/microcontroller/generic_agnostic_board/neopixel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: MIT
44
"""NeoPixel write mocks for a generic board."""
55

6-
6+
# pylint: disable=unused-argument
77
def neopixel_write(gpio, buf):
88
"""Mocks a neopixel_write function"""
99
# pad output buffer from 3 bpp to 4 bpp

src/adafruit_blinka/microcontroller/generic_agnostic_board/spi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,17 @@ def frequency(self):
3737
"""Return the current frequency"""
3838
return self._frequency
3939

40+
# pylint: disable=unnecessary-pass
4041
def write(self, buf, start=0, end=None):
4142
"""Write data from the buffer to SPI"""
4243
pass
4344

45+
# pylint: disable=unnecessary-pass
4446
def readinto(self, buf, start=0, end=None, write_value=0):
4547
"""Read data from SPI and into the buffer"""
4648
pass
4749

48-
# pylint: disable=too-many-arguments
50+
# pylint: disable=too-many-arguments, unnecessary-pass
4951
def write_readinto(
5052
self, buffer_out, buffer_in, out_start=0, out_end=None, in_start=0, in_end=None
5153
):

0 commit comments

Comments
 (0)