Improved the PyLint test so it automatically updates the line numbers of known false positives.
Fixed bugs found by PyLint.