made a few pylint changes and code edits