From 67117e82a119e5e99f61d54ab4872603a40f831a Mon Sep 17 00:00:00 2001 From: foamyguy Date: Sat, 21 Dec 2024 12:13:44 -0600 Subject: [PATCH] move pylint directives --- adafruit_ov2640.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/adafruit_ov2640.py b/adafruit_ov2640.py index 965093c..6a001ee 100644 --- a/adafruit_ov2640.py +++ b/adafruit_ov2640.py @@ -991,9 +991,9 @@ def __init__(self, i2c_bus: I2C, i2c_address: int) -> None: def _get_reg_bits(self, bank: int, reg: int, shift: int, mask: int) -> int: return (self._read_bank_register(bank, reg) >> shift) & mask - def _set_reg_bits( + def _set_reg_bits( # pylint: disable=too-many-arguments self, bank: int, reg: int, shift: int, mask: int, value: int - ) -> None: # pylint: disable=too-many-arguments + ) -> None: reg_value = self._read_bank_register(bank, reg) reg_value &= ~(mask << shift) reg_value |= value << shift @@ -1268,7 +1268,7 @@ def product_version(self) -> int: """Get the version (VER) register. The expected value is 0x41.""" return self._read_bank_register(_BANK_SENSOR, _REG_VER) - def _set_window( + def _set_window( # pylint: disable=too-many-arguments, too-many-locals self, mode: int, offset_x: int, @@ -1277,7 +1277,7 @@ def _set_window( max_y: int, width: int, height: int, - ) -> None: # pylint: disable=too-many-arguments, too-many-locals + ) -> None: self._w = width self._h = height