Skip to content

Commit 91524c5

Browse files
committed
Disable some pylint errors
1 parent 8e04275 commit 91524c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adafruit_mlx90640.py

+3
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ def _ExtractCILCParameters(self):
749749
self.ilChessC = ilChessC
750750

751751
def _ExtractDeviatingPixels(self):
752+
# pylint: disable=too-many-branches
752753
pixCnt = 0
753754

754755
while (
@@ -785,11 +786,13 @@ def _ExtractDeviatingPixels(self):
785786
raise RuntimeError("Adjacent broken and outlier pixels")
786787

787788
def _UniqueListPairs(self, inputList):
789+
# pylint: disable=no-self-use
788790
for i, listValue1 in enumerate(inputList):
789791
for listValue2 in inputList[i + 1 :]:
790792
yield (listValue1, listValue2)
791793

792794
def _ArePixelsAdjacent(self, pix1, pix2):
795+
# pylint: disable=no-self-use, chained-comparison
793796
pixPosDif = pix1 - pix2
794797

795798
if pixPosDif > -34 and pixPosDif < -30:

0 commit comments

Comments
 (0)