fix pylint warnings

note that:
 - _version is a generated/vendored file, so we just disable all
 - ssl.OP_NO_TLSv1 and OP_NO_TLSv1_1 are not detected by pylint, so we add
   a local ignore
28 jobs for feat/pylint in 0 seconds
latest