Refs #17711 EEA; Fixed pylint warnings