Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4825

Python • Re: pylint errors on normal "import RPi.GPIO"

$
0
0
Well, pylint is meant to detect errors someone made and can correct. One can hide false positives (made pylint diagnostics cluttered) by putting

Code:

 # pylint: disable=E1101
at the end of each line invoking RPi.GPIO (pylint does not like RPi.GPIO...)

Statistics: Posted by dbrion1 — Mon Feb 26, 2024 6:38 pm



Viewing all articles
Browse latest Browse all 4825

Trending Articles