longstanding bug: cleanly close context.
remove stale TODO
add local pylint configuration