Improved the PyLint test so it cleans up the log and filters out known false positives.