squelch distutils.version false positives
can't fix without breaking API
the non-sequence None will never actually be returned
can't change name without changing API
these are safe due to appropriate typecheck guards
intentional ignorance of arg
squelch pylint warnings due to not having sleekxmpp
safe due to the 'if not hostname' check
safe due to 'if not ref' checks