fixup! Fix various pylint warnings (no-member, compare None, dangerous defaults)