code cleanup re pylint