pylint pragmas: `enable-msg` is deprecated, replace it with `enable`

Squelches pylint runtime `DeprecationWarning: enable-msg is deprecated, replace it with enable` messages.
Parallels PR #5931.