Refs #18316; fixed pylint warnings