[gapDetect.py] Fix pylint errors